Make helper not static when unzipping.

This commit is contained in:
Andrew 2022-04-12 17:38:05 -04:00
parent ec6421b62c
commit 47025bec2a

View File

@ -422,7 +422,7 @@ class AjaxHandler(BaseHandler):
elif page == "unzip_server":
path = self.get_argument("path", None)
if Helpers.check_file_exists(path):
Helpers.unzipServer(path, exec_user["user_id"])
self.helper.unzipServer(path, exec_user["user_id"])
else:
user_id = exec_user["user_id"]
if user_id: