From 5d8dde0ff9923aecd9617285663cfeb3eefccc0c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 21 Mar 2022 22:21:22 +0200 Subject: [PATCH] vxc' --- files/helpers/const.py | 1 - files/routes/front.py | 6 +++--- files/templates/award_modal.html | 2 +- files/templates/default.html | 2 +- files/templates/oauth.html | 9 --------- files/templates/sidebar_Drama.html | 2 +- 6 files changed, 6 insertions(+), 16 deletions(-) diff --git a/files/helpers/const.py b/files/helpers/const.py index 685a90204..3d1e58522 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -76,7 +76,6 @@ SLURS = { "sheeny": "Israeli friend", "sheenies": "Israeli friends", "hymie": "Israeli friend", - "god": "Allah (SWT)", "allah": "Allah (SWT)", "mohammad": "Prophet Mohammad (PBUH)", "muhammad": "Prophet Mohammad (PBUH)", diff --git a/files/routes/front.py b/files/routes/front.py index 565b0c61d..eeddbe185 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -177,9 +177,9 @@ def front_all(v, sub=None, subdomain=None): try: lt=int(request.values.get("utc_less_than", 0)) except: lt=0 - if SITE_NAME == 'Drama': defaultsubs = 1 - else: defaultsubs = 2 - subs = v.subs if v else defaultsubs + if v: subs = v.subs + elif SITE_NAME == 'Drama': subs = 1 + else: subs = 2 ids, next_exists = frontlist(sort=sort, page=page, diff --git a/files/templates/award_modal.html b/files/templates/award_modal.html index 4bcff8b58..a29d7e739 100644 --- a/files/templates/award_modal.html +++ b/files/templates/award_modal.html @@ -1,4 +1,4 @@ - +