Compare commits

...

1 Commits
2.0 ... master

Author SHA1 Message Date
pooneyy 45505af55b
版本 2.01:fix bug 2023-09-20 12:06:34 +08:00
1 changed files with 6 additions and 6 deletions

View File

@ -270,8 +270,8 @@ def get_tenant_code(school_name: str) -> str:
def set_accounts():
global DEFAULT_SCHOOL_NAME
with open("config.json", "r+", encoding='utf8') as file:
try:config = json.load(file)
try:
with open("config.json", "r+", encoding='utf8') as file:config = json.load(file)
except:
config = {}
config['TrueCaptcha'] = None