1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-14 08:26:03 +08:00

[fpy] Fix: PEP540 & SpecialDrop & interval regex (#4645)

This commit is contained in:
hgjazhgj
2025-03-06 01:40:25 +09:00
committed by GitHub
parent 9c3bfc7e8d
commit 50ad05030f
8 changed files with 10 additions and 11 deletions

View File

@@ -63,9 +63,7 @@ class FGOpy(HeadlessCliApplication):
return
prompt, datetime, level, module, content = match.groups()
getattr(logger, level.lower())(content)
item = self.counter.get(content)
if item:
setattr(self.config, item, getattr(self.config, item) - 1)
self.counter.get(content, lambda: None)()
if self.first_log:
self.first_log = False