From 9089218347c1b1b13409f2adc41434b465e74ba5 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 20 May 2023 03:08:02 +0300 Subject: [PATCH] fix 500 error --- files/helpers/config/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index dc82a1679..faea64ba6 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -1124,7 +1124,7 @@ def IS_DKD(): birthgay_begin = datetime.datetime.strptime(f'20/5/{t.year}', '%d/%m/%Y') birthgay_end = datetime.datetime.strptime(f'22/5/{t.year}', '%d/%m/%Y') def IS_BIRTHGAY(): - return SITE_NAME == 'rDrama' and birthgay_begin < datetime.datetime.now() < birthgay_end + return False and (SITE_NAME == 'rDrama' and birthgay_begin < datetime.datetime.now() < birthgay_end) birthdead_begin = datetime.datetime.strptime(f'26/4/{t.year}', '%d/%m/%Y') birthdead_end = datetime.datetime.strptime(f'28/4/{t.year}', '%d/%m/%Y')