mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 02:48:23 +08:00
Fix: To have at least one alas instance
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user