1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 03:58:22 +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:
hgjazhgj
2023-05-30 18:07:28 +08:00
parent 6e339a5364
commit a88156fced
4 changed files with 6 additions and 4 deletions

View File

@@ -104,6 +104,7 @@ def export_method(func):
script = FgoAutoScript(config_name)
script.config.bind(inflection.camelize(func.__name__))
getattr(script, func.__name__)()
script.app.logger.join(10)
return wrapper