mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
6df09c7665
WeasyPrint outputs logging messages to stdout/stderr when imported, which pollutes the console output. This change temporarily redirects stdout/stderr to /dev/null during the import, then restores them. Changes: - Added sys and os imports - Wrapped WeasyPrint import with stdout/stderr suppression - Properly restore stdout/stderr in finally block Result: Clean import with no console noise 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>