1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 06:18:21 +08:00

Upd: Limit mail collect in CN and EN

This commit is contained in:
LmeSzinc
2022-10-24 02:18:56 +08:00
parent a25d43726b
commit f32d275fec

View File

@@ -21,7 +21,10 @@ class Freebies(ModuleBase):
if self.config.Mail_Collect:
logger.hr('Mail', level=1)
Mail(self.config, self.device).run()
if self.config.SERVER in ['cn', 'en']:
Mail(self.config, self.device).run()
else:
logger.info(f'Mail collect is not supported in {self.config.SERVER}, please contact server maintainers')
if self.config.SupplyPack_Collect:
logger.hr('Supply pack', level=1)