From 5b6e1f699dda5883f65c20f8b2d277a672e76afa Mon Sep 17 00:00:00 2001 From: shortcutme Date: Fri, 19 Jan 2018 02:17:23 +0100 Subject: [PATCH] Add db id to logging --- src/Db/Db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Db/Db.py b/src/Db/Db.py index e4939508..576433be 100644 --- a/src/Db/Db.py +++ b/src/Db/Db.py @@ -46,7 +46,7 @@ class Db(object): self.last_query_time = time.time() def __repr__(self): - return "" % self.db_path + return "" % (id(self), self.db_path) def connect(self): if self not in opened_dbs: