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

style(confirm-ui): narrow _build_catalogs except to (ImportError, AttributeError)

hugohe31cea0b310a87
diff --git a/skills/ppt-master/scripts/confirm_ui/server.py b/skills/ppt-master/scripts/confirm_ui/server.py
index dd6405f4..27dbd654 100644
--- a/skills/ppt-master/scripts/confirm_ui/server.py
+++ b/skills/ppt-master/scripts/confirm_ui/server.py
@@ -179,7 +179,7 @@ def _build_catalogs() -> dict:
try:
import config # scripts/ is on sys.path (injected at import time)
formats = config.CANVAS_FORMATS
- except Exception: # any import/attr failure → serve the static canvas list
+ except (ImportError, AttributeError): # missing module/attr → static canvas
return data
existing = {
c.get('id'): c