Use snake_case for method names

This commit is contained in:
rubenwardy
2023-06-19 21:27:49 +01:00
parent 16f93b3e13
commit 45ed12ddf0
53 changed files with 390 additions and 387 deletions

View File

@@ -129,13 +129,13 @@ def check_for_ban():
models.db.session.commit()
from .utils import clearNotifications, is_safe_url, create_session
from .utils import clear_notifications, is_safe_url, create_session
@app.before_request
def check_for_notifications():
if current_user.is_authenticated:
clearNotifications(request.path)
clear_notifications(request.path)
@app.errorhandler(404)