Log file object on db load

This commit is contained in:
shortcutme 2017-02-13 16:12:56 +01:00
parent 276b65f0b9
commit cfad85b30e
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -224,7 +224,7 @@ class SiteStorage(object):
self.openDb() self.openDb()
elif not config.disable_db and inner_path.endswith(".json") and self.has_db: # Load json file to db elif not config.disable_db and inner_path.endswith(".json") and self.has_db: # Load json file to db
if config.verbose: if config.verbose:
self.log.debug("Loading json file to db: %s" % inner_path) self.log.debug("Loading json file to db: %s (file: %s)" % (inner_path, file))
try: try:
self.updateDbFile(inner_path, file) self.updateDbFile(inner_path, file)
except Exception, err: except Exception, err: