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