mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 16:19:03 +08:00
Fix: To have at least one alas instance
This commit is contained in:
parent
7aea818c8b
commit
b1a9157a24
@ -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
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user