Rev1535, Fix err not defined on content load

This commit is contained in:
shortcutme 2016-10-04 11:36:33 +02:00
parent 83158de1ce
commit b003c8df01
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ class Config(object):
def __init__(self, argv):
self.version = "0.4.1"
self.rev = 1534
self.rev = 1535
self.argv = argv
self.action = None
self.config_file = "zeronet.conf"

View File

@ -83,7 +83,7 @@ class ContentDbDict(dict):
for key in dict.keys(self):
try:
val = self[key]
except Exception:
except Exception, err:
self.log.error("Error loading %s: %s" % (key, err))
continue
back.append((key, val))