SiteStrorage.py -> Fix accessing unassigned varible
This commit is contained in:
parent
f1a71770fa
commit
1500d9356b
1 changed files with 2 additions and 1 deletions
|
@ -463,7 +463,8 @@ class SiteStorage(object):
|
|||
else:
|
||||
try:
|
||||
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
|
||||
|
||||
if not ok:
|
||||
|
|
Loading…
Reference in a new issue