fix 500 error

pull/152/head
Aevann 2023-05-20 03:08:02 +03:00
parent 1d6b35cde2
commit 9089218347
1 changed files with 1 additions and 1 deletions

View File

@ -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')