Update setting.py

This commit is contained in:
midoks
2022-11-05 00:36:39 +08:00
parent c72092f5af
commit f3061fd084
+1 -1
View File
@@ -51,7 +51,7 @@ else:
# 初始安装时,自动生成安全路径
if not os.path.exists('data/admin_path.pl'):
admin_path = mw.getRandomString(8)
mw.writeFile('data/admin_path.pl', admin_path.lower())
mw.writeFile('data/admin_path.pl', '/' + admin_path.lower())
if workers > 2:
workers = 2