mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-13 02:06:59 +08:00
Fix: Misjudging of subprocess state
due to async output even after "Reason: Finied" printed and a "Warning" instead of "Inactive" displayed on web ui
This commit is contained in:
@@ -55,7 +55,7 @@ class FGOpy(HeadlessCliApplication):
|
||||
|
||||
match = self.log_pattern.fullmatch(line)
|
||||
if match is None:
|
||||
logger.info(f"... {line}")
|
||||
logger.info(f": {line}")
|
||||
return
|
||||
prompt, datetime, level, module, content = match.groups()
|
||||
getattr(logger, level.lower())(content)
|
||||
|
||||
Reference in New Issue
Block a user