forked from rDrama/rDrama
fix 500 error
parent
1d6b35cde2
commit
9089218347
|
@ -1124,7 +1124,7 @@ def IS_DKD():
|
||||||
birthgay_begin = datetime.datetime.strptime(f'20/5/{t.year}', '%d/%m/%Y')
|
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')
|
birthgay_end = datetime.datetime.strptime(f'22/5/{t.year}', '%d/%m/%Y')
|
||||||
def IS_BIRTHGAY():
|
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_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')
|
birthdead_end = datetime.datetime.strptime(f'28/4/{t.year}', '%d/%m/%Y')
|
||||||
|
|
Loading…
Reference in New Issue