Rev1535, Fix err not defined on content load
This commit is contained in:
parent
83158de1ce
commit
b003c8df01
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ class Config(object):
|
||||||
|
|
||||||
def __init__(self, argv):
|
def __init__(self, argv):
|
||||||
self.version = "0.4.1"
|
self.version = "0.4.1"
|
||||||
self.rev = 1534
|
self.rev = 1535
|
||||||
self.argv = argv
|
self.argv = argv
|
||||||
self.action = None
|
self.action = None
|
||||||
self.config_file = "zeronet.conf"
|
self.config_file = "zeronet.conf"
|
||||||
|
|
|
@ -83,7 +83,7 @@ class ContentDbDict(dict):
|
||||||
for key in dict.keys(self):
|
for key in dict.keys(self):
|
||||||
try:
|
try:
|
||||||
val = self[key]
|
val = self[key]
|
||||||
except Exception:
|
except Exception, err:
|
||||||
self.log.error("Error loading %s: %s" % (key, err))
|
self.log.error("Error loading %s: %s" % (key, err))
|
||||||
continue
|
continue
|
||||||
back.append((key, val))
|
back.append((key, val))
|
||||||
|
|
Loading…
Reference in a new issue