mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Doc: How to support other server/language
This commit is contained in:
@@ -54,7 +54,8 @@ class Config:
|
||||
"""
|
||||
for record in cls.func_list[name]:
|
||||
|
||||
flag = [self.config.__getattribute__(key) == value for key, value in record['options'].items()]
|
||||
flag = [value is None or self.config.__getattribute__(key) == value
|
||||
for key, value in record['options'].items()]
|
||||
if not np.all(flag):
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user