From 709c7566607f5b53dd12a6fcf407a37c38caec27 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 28 May 2022 16:55:22 +0200 Subject: [PATCH] fds --- files/helpers/const.py | 6 +++--- files/routes/front.py | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/files/helpers/const.py b/files/helpers/const.py index 95e48b365b..4ec8212724 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -28,13 +28,13 @@ AJ_REPLACEMENTS = { ' YOUR ': " YOU'RE ", ' TO ': " TOO ", - 'anybody': 'anypony', + 'everyone': 'everypony', 'everybody': 'everypony', - 'Anybody': 'Anypony', + 'Everyone': 'Everypony', 'Everybody': 'Everypony', - 'ANYBODY': 'ANYPONY', + 'EVERYONE': 'EVERYPONY', 'EVERYBODY': 'EVERYPONY', } diff --git a/files/routes/front.py b/files/routes/front.py index 6aad0cae08..545dd2b609 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -169,8 +169,6 @@ def notifications(v): @auth_desired def front_all(v, sub=None, subdomain=None): - if v and v.id == 8494: print(request.headers.get('CF-Connecting-IP')) - if not v and not request.path.startswith('/logged_out'): r = request.full_path if r == '/?': r = '/'