mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 05:08:19 +08:00
Fix: Verify filename when adding new config
This commit is contained in:
@@ -5,14 +5,11 @@ MOD_CONFIG_DICT = {}
|
||||
|
||||
|
||||
def list_mod():
|
||||
out = []
|
||||
for item in MOD_DICT.items():
|
||||
out.append(item)
|
||||
return out
|
||||
return list(MOD_DICT.items())
|
||||
|
||||
|
||||
def get_dir_name(name):
|
||||
return MOD_DICT[name]
|
||||
return MOD_DICT.get(name)
|
||||
|
||||
|
||||
def filepath_mod(name):
|
||||
|
||||
Reference in New Issue
Block a user