From e8044f48e3c9c74e4338f67d4eb6f2ef775826fc Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 18 Feb 2022 14:01:24 +0200 Subject: [PATCH] bcv --- files/helpers/jinja2.py | 2 +- files/routes/reporting.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/helpers/jinja2.py b/files/helpers/jinja2.py index 3d399d107..415f71e9f 100644 --- a/files/helpers/jinja2.py +++ b/files/helpers/jinja2.py @@ -16,4 +16,4 @@ def post_embed(id, v): @app.context_processor def inject_constants(): - return {"environ":environ, "SITE":SITE, "SITE_NAME":SITE_NAME, "SITE_FULL":SITE_FULL, "AUTOJANNY_ID":AUTOJANNY_ID, "NOTIFICATIONS_ID":NOTIFICATIONS_ID, "PUSHER_ID":PUSHER_ID, "CC":CC, "CC_TITLE":CC_TITLE, "listdir":listdir, "MOOSE_ID":MOOSE_ID, "AEVANN_ID":AEVANN_ID, "config":app.config.get, "DEFAULT_COLOR":DEFAULT_COLOR, "COLORS":COLORS, "toomuch_subs":toomuch_subs} \ No newline at end of file + return {"environ":environ, "SITE":SITE, "SITE_NAME":SITE_NAME, "SITE_FULL":SITE_FULL, "AUTOJANNY_ID":AUTOJANNY_ID, "NOTIFICATIONS_ID":NOTIFICATIONS_ID, "PUSHER_ID":PUSHER_ID, "CC":CC, "CC_TITLE":CC_TITLE, "listdir":listdir, "MOOSE_ID":MOOSE_ID, "AEVANN_ID":AEVANN_ID, "config":app.config.get, "DEFAULT_COLOR":DEFAULT_COLOR, "COLORS":COLORS} \ No newline at end of file diff --git a/files/routes/reporting.py b/files/routes/reporting.py index 6a789abda..f7fd4a2fd 100644 --- a/files/routes/reporting.py +++ b/files/routes/reporting.py @@ -81,7 +81,7 @@ def remove_report_post(v, pid, uid): g.db.commit() - return {"message": "Removed report!"} + return {"message": "Report removed successfully!"} @app.post('/del_report/comment//') @@ -106,4 +106,4 @@ def remove_report_comment(v, cid, uid): g.db.commit() - return {"message": "Removed report!"} \ No newline at end of file + return {"message": "Report removed successfully!"} \ No newline at end of file