| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The example calls add_picture('monty-truth.png') which raises
FileNotFoundError when the file is not present in the working
directory. Wrap it in a try/except so the example runs out of
the box.
Closes python-openxml#128
Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
| Back | FazBrowse Home | New Git URL |
What does this PR do?
Fixes the front-page example so it runs out of the box. The example previously called document.add_picture('monty-truth.png', ...) unconditionally, which raises FileNotFoundError when the image is not present in the working directory (the file only exists under tests/test_files/).
Closes #128
Changes
Verification