SiteStrorage.py -> Fix accessing unassigned varible
This commit is contained in:
parent
02d7305004
commit
dba0f7d9c8
1 changed files with 2 additions and 1 deletions
|
@ -463,7 +463,8 @@ class SiteStorage(object):
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
ok = self.site.content_manager.verifyFile(file_inner_path, open(file_path, "rb"))
|
ok = self.site.content_manager.verifyFile(file_inner_path, open(file_path, "rb"))
|
||||||
except Exception as err:
|
except Exception as _err:
|
||||||
|
err = _err
|
||||||
ok = False
|
ok = False
|
||||||
|
|
||||||
if not ok:
|
if not ok:
|
||||||
|
|
Loading…
Reference in a new issue