mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-17 06:25:25 +08:00
Opt: Change bit operation to string and list in meta.py
This commit is contained in:
@@ -209,10 +209,10 @@ class DossierReward(Combat, UI):
|
||||
|
||||
|
||||
class MetaReward(BeaconReward, DossierReward):
|
||||
def run(self, category=1):
|
||||
if category == 1:
|
||||
def run(self, category="beacon"):
|
||||
if category == "beacon":
|
||||
BeaconReward(self.config, self.device).run()
|
||||
elif category == 2:
|
||||
elif category == "dossier":
|
||||
DossierReward(self.config, self.device).run()
|
||||
else:
|
||||
logger.info('Possible wrong parameter, please contact the developers.')
|
||||
logger.info(f'Possible wrong parameter {category}, please contact the developers.')
|
||||
|
||||
Reference in New Issue
Block a user