Files
TimeTracker/app
Dries Peeters 1de4615696 Fix scheduled report creation always failing due to incorrect commit check
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.
2026-01-22 14:06:55 +01:00
..