SiteStrorage.py -> Fix accessing unassigned varible

This commit is contained in:
canewsin 2022-12-11 02:00:57 +05:30
parent f1a71770fa
commit 1500d9356b
1 changed files with 2 additions and 1 deletions

View File

@ -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: