Update index.py

This commit is contained in:
Mr Chen
2019-01-10 14:52:22 +08:00
parent f28b0c3878
commit 8bff295837
+2
View File
@@ -177,6 +177,8 @@ def initReplace(version):
session_path = '/tmp/session'
if not os.path.exists(session_path):
os.mkdir(session_path)
if not public.isAppleSystem():
public.execShell('chmod -R www:www' + session_path)
return file_bin