1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 15:19:26 +08:00

add: check alas prev status

This commit is contained in:
0O0o0oOoO00
2025-10-11 18:43:55 +08:00
parent 22adbb92b8
commit f9dffbaaa1
4 changed files with 72 additions and 1 deletions

View File

@@ -86,3 +86,6 @@ def get_config_mod(config_name):
return MOD_CONFIG_DICT[config_name]
except KeyError:
return 'alas'
def has_config_mod(config_name):
return os.path.exists(f"./config/{config_name}.json")