Fixed settings is None

This commit is contained in:
Choco
2023-06-24 15:08:16 +08:00
parent c534735ee8
commit 96e8150269

View File

@@ -99,7 +99,7 @@ def init():
global settings
json = open_json(os.path.join(root_dir, "settings.json"))
if json:
if json is not None:
settings = Settings(json)
def langs_setup():