Clean up various things

This commit is contained in:
rubenwardy
2023-12-15 15:57:54 +00:00
parent c7b215fcca
commit a29345bd10
5 changed files with 7 additions and 10 deletions

View File

@@ -135,8 +135,7 @@ from .utils import clear_notifications, is_safe_url, create_session
@app.before_request
def check_for_notifications():
if current_user.is_authenticated:
clear_notifications(request.path)
clear_notifications(request.path)
@app.errorhandler(404)