mirror of
https://github.com/TDSCDMAA/AutoMihoyoBBS.git
synced 2026-06-10 06:06:34 +08:00
bug fix
This commit is contained in:
parent
f0b2ebff17
commit
2388fba65d
@ -54,7 +54,7 @@ def load_config():
|
||||
|
||||
def save_config():
|
||||
global serverless
|
||||
if not serverless:
|
||||
if serverless:
|
||||
log.info("云函数执行,无法保存")
|
||||
return None
|
||||
with open(config_Path, "r+") as f:
|
||||
@ -79,7 +79,7 @@ def save_config():
|
||||
|
||||
def clear_cookies():
|
||||
global serverless
|
||||
if not serverless:
|
||||
if serverless:
|
||||
log.info("云函数执行,无法保存")
|
||||
return None
|
||||
with open(config_Path, "r+") as f:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user