Skip to content

AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He

fix(confirm-ui): skip retries for missing result state

hugohe35a2962fd0039
diff --git a/skills/ppt-master/scripts/confirm_ui/server.py b/skills/ppt-master/scripts/confirm_ui/server.py
index 20a8d73d..4887ae21 100644
--- a/skills/ppt-master/scripts/confirm_ui/server.py
+++ b/skills/ppt-master/scripts/confirm_ui/server.py
@@ -322,6 +322,8 @@ def _wait_for_result(
def _result_stage(result_file: Path) -> Optional[str]:
"""Return the canonical ``stage`` field of result.json, or None."""
+ if not result_file.is_file():
+ return None
try:
data = _read_json_object(result_file)
except (OSError, json.JSONDecodeError, ValueError):