mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Make helper not static when unzipping.
This commit is contained in:
parent
ec6421b62c
commit
47025bec2a
@ -422,7 +422,7 @@ class AjaxHandler(BaseHandler):
|
|||||||
elif page == "unzip_server":
|
elif page == "unzip_server":
|
||||||
path = self.get_argument("path", None)
|
path = self.get_argument("path", None)
|
||||||
if Helpers.check_file_exists(path):
|
if Helpers.check_file_exists(path):
|
||||||
Helpers.unzipServer(path, exec_user["user_id"])
|
self.helper.unzipServer(path, exec_user["user_id"])
|
||||||
else:
|
else:
|
||||||
user_id = exec_user["user_id"]
|
user_id = exec_user["user_id"]
|
||||||
if user_id:
|
if user_id:
|
||||||
|
Loading…
Reference in New Issue
Block a user