SiteStrorage.py -> Fix accessing unassigned varible

This commit is contained in:
canewsin 2022-12-11 02:00:57 +05:30
parent 02d7305004
commit dba0f7d9c8

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: