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