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: replace bare except with except Exception in rotate_images.py

hugohe3de9a2c3a4047
diff --git a/skills/ppt-master/scripts/rotate_images.py b/skills/ppt-master/scripts/rotate_images.py
index 1a7e1708..bfb26548 100644
--- a/skills/ppt-master/scripts/rotate_images.py
+++ b/skills/ppt-master/scripts/rotate_images.py
@@ -295,7 +295,7 @@ class ImageRotator:
for tag, value in exif.items():
if ExifTags.TAGS.get(tag) == 'Orientation':
return value
- except:
+ except Exception:
pass
return None