Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Fix python3.9 (#8858)

comfyanonymousb7ff5bd14def
diff --git a/comfy_execution/progress.py b/comfy_execution/progress.py
index 5645b3e3c..73dba3f75 100644
--- a/comfy_execution/progress.py
+++ b/comfy_execution/progress.py
@@ -317,7 +317,7 @@ class ProgressRegistry:
handler.reset()
# Global registry instance
-global_progress_registry: ProgressRegistry | None = None
+global_progress_registry: ProgressRegistry = None
def reset_progress_state(prompt_id: str, dynprompt: "DynamicPrompt") -> None:
global global_progress_registry