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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user