mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-08 03:31:47 +08:00
Fix: notify_handle AttributeError (#2438)
* Fix #2436 : object call error
This commit is contained in:
@@ -77,8 +77,8 @@ class CampaignRun(CampaignEvent):
|
|||||||
self.config.Scheduler_Enable = False
|
self.config.Scheduler_Enable = False
|
||||||
handle_notify(
|
handle_notify(
|
||||||
self.config.Error_OnePushConfig,
|
self.config.Error_OnePushConfig,
|
||||||
title=f"Alas <{self.config_name}> campaign finished",
|
title=f"Alas <{self.config.config_name}> campaign finished",
|
||||||
content=f"<{self.config_name}> {self.name} reached run count limit"
|
content=f"<{self.config.config_name}> {self.name} reached run count limit"
|
||||||
)
|
)
|
||||||
return True
|
return True
|
||||||
# Lv120 limit
|
# Lv120 limit
|
||||||
@@ -87,8 +87,8 @@ class CampaignRun(CampaignEvent):
|
|||||||
self.config.Scheduler_Enable = False
|
self.config.Scheduler_Enable = False
|
||||||
handle_notify(
|
handle_notify(
|
||||||
self.config.Error_OnePushConfig,
|
self.config.Error_OnePushConfig,
|
||||||
title=f"Alas <{self.config_name}> campaign finished",
|
title=f"Alas <{self.config.config_name}> campaign finished",
|
||||||
content=f"<{self.config_name}> {self.name} reached level limit"
|
content=f"<{self.config.config_name}> {self.name} reached level limit"
|
||||||
)
|
)
|
||||||
return True
|
return True
|
||||||
# Oil limit
|
# Oil limit
|
||||||
@@ -108,8 +108,8 @@ class CampaignRun(CampaignEvent):
|
|||||||
self.config.Scheduler_Enable = False
|
self.config.Scheduler_Enable = False
|
||||||
handle_notify(
|
handle_notify(
|
||||||
self.config.Error_OnePushConfig,
|
self.config.Error_OnePushConfig,
|
||||||
title=f"Alas <{self.config_name}> campaign finished",
|
title=f"Alas <{self.config.config_name}> campaign finished",
|
||||||
content=f"<{self.config_name}> {self.name} got new ship"
|
content=f"<{self.config.config_name}> {self.name} got new ship"
|
||||||
)
|
)
|
||||||
return True
|
return True
|
||||||
# Event limit
|
# Event limit
|
||||||
|
|||||||
Reference in New Issue
Block a user