From b99de4e9362a76b1cb3846df46f1085e4a7ea1cb Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 9 Mar 2022 04:26:05 +0200 Subject: [PATCH] fds --- files/classes/user.py | 2 +- files/helpers/const.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/classes/user.py b/files/classes/user.py index 8f4c0ae22..74a18e7aa 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -477,7 +477,7 @@ class User(Base): @property @lazy def profile_url(self): - if self.agendaposter: return f"/e/marseychud.webp" + if self.agendaposter: return f"/e/chudsey.webp" if self.profileurl: if self.profileurl.startswith('/'): return SITE_FULL + self.profileurl return self.profileurl diff --git a/files/helpers/const.py b/files/helpers/const.py index 2829aedbb..472dbfc58 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -634,8 +634,8 @@ dues = int(environ.get("DUES").strip()) christian_emojis = (':#marseyjesus:',':#marseyimmaculate:',':#marseymothermary:',':#marseyfatherjoseph:',':#gigachadorthodox:',':#marseyorthodox:',':#marseyorthodoxpat:') db = db_session() -marseys_const = [x[0] for x in db.query(Marsey.name).filter(Marsey.name!='marseychud').all()] -marseys_const2 = marseys_const + ['marseychud','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','0','1','2','3','4','5','6','7','8','9','exclamationpoint','period','questionmark'] +marseys_const = [x[0] for x in db.query(Marsey.name).filter(Marsey.name!='chudsey').all()] +marseys_const2 = marseys_const + ['chudsey','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','0','1','2','3','4','5','6','7','8','9','exclamationpoint','period','questionmark'] db.close() if SITE_NAME == 'PCM':