Fix continuous GUI status display issue

Fixed incorrect logic in refresh_status_async function that was causing
continuous status updates. Changed condition from 'status == None or len(status) > 0'
to 'status is not None and len(status) > 0' to only yield when there's
actually a meaningful status to display.

This resolves the display issue that started appearing after commit 799c3a2.
This commit is contained in:
Gunther Schulz 2025-09-29 12:02:27 +02:00
parent 799c3a2e5e
commit 641cdcb7ed

2
wgp.py
View File

@ -8514,7 +8514,7 @@ def generate_video_tab(update_form = False, state_dict = None, ui_defaults = Non
progress(*progress_args) progress(*progress_args)
gen["progress_args"] = None gen["progress_args"] = None
status= gen.get("status","") status= gen.get("status","")
if status == None or len(status) > 0: if status is not None and len(status) > 0:
yield status yield status
gen["status"]= "" gen["status"]= ""
if not gen.get("status_display", False): if not gen.get("status_display", False):