mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 13:17:00 +08:00
Fix: guild_interval reset before use
This commit is contained in:
@@ -35,6 +35,7 @@ class RewardGuild(GuildLobby, GuildLogistics, GuildOperations):
|
||||
return False
|
||||
if self.config.GUILD_POPUP_TRIGGERED:
|
||||
logger.info('Guild popup triggered')
|
||||
_ = self.guild_interval # Call guild_interval to avoid resetting before using
|
||||
else:
|
||||
now = datetime.now()
|
||||
guild_record = datetime.strptime(self.config.config.get(*GUILD_RECORD), self.config.TIME_FORMAT)
|
||||
|
||||
Reference in New Issue
Block a user