mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Add: temporary server check for opsi voucher task
This commit is contained in:
parent
96cb4aa4e1
commit
6daaea364a
@ -36,6 +36,11 @@ class OSCampaignRun(OSMapOperation):
|
||||
self.config.opsi_task_delay(ap_limit=True)
|
||||
|
||||
def opsi_voucher(self):
|
||||
if self.config.SERVER in ['cn', 'jp', 'tw']:
|
||||
logger.info(f'Opsi Voucher is not supported in {self.config.SERVER},'
|
||||
' please contact server maintainers')
|
||||
self.config.Scheduler_Enable = False
|
||||
return
|
||||
try:
|
||||
self.load_campaign()
|
||||
self.campaign.os_voucher()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user