From c72092f5af6442e1a89a3a1553035dbba7ecce66 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 5 Nov 2022 00:35:55 +0800 Subject: [PATCH] Update setting.py --- setting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setting.py b/setting.py index c973cedff..f90ba8eee 100755 --- a/setting.py +++ b/setting.py @@ -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) + mw.writeFile('data/admin_path.pl', admin_path.lower()) if workers > 2: workers = 2