1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

Fix: To have at least one alas instance

This commit is contained in:
LmeSzinc 2021-10-18 14:01:18 +08:00
parent 7aea818c8b
commit b1a9157a24

View File

@ -154,6 +154,10 @@ def alas_instance():
name, extension = os.path.splitext(file)
if name != 'template' and extension == '.json':
out.append(name)
if not len(out):
out = ['alas']
return out