mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-19 12:50:11 -05:00
1de4615696
The code was checking \if not db.session.commit():\ which always evaluated to True since commit() returns None on success, not a boolean. This caused scheduled report creation to always fail with a database error even when the commit was successful. Removed the incorrect check. Database errors will still be properly caught by the existing exception handler.