log db path
This commit is contained in:
parent
8e39b18fe8
commit
2e412933a7
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ class Icons(dict):
|
||||||
c.close()
|
c.close()
|
||||||
conn.close()
|
conn.close()
|
||||||
except:
|
except:
|
||||||
logger.debug('failed to insert icon %s', id, exc_info=True)
|
logger.debug('failed to insert icon %s (%s)', id, self._db, exc_info=True)
|
||||||
|
|
||||||
def __delitem__(self, id):
|
def __delitem__(self, id):
|
||||||
sql = 'DELETE FROM icon WHERE id = ?'
|
sql = 'DELETE FROM icon WHERE id = ?'
|
||||||
|
@ -91,7 +91,7 @@ class Icons(dict):
|
||||||
c.close()
|
c.close()
|
||||||
conn.close()
|
conn.close()
|
||||||
except:
|
except:
|
||||||
logger.debug('failed to delete icon %s', id)
|
logger.debug('failed to delete icon %s (%s)', id, self._db)
|
||||||
|
|
||||||
def clear(self, prefix):
|
def clear(self, prefix):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue