remove homoween from devrama

master
Aevann 2024-08-06 20:29:04 +03:00
parent db1d3db468
commit e75a06133b
1 changed files with 1 additions and 1 deletions

View File

@ -1385,7 +1385,7 @@ homoween_begin_day = 18 if SITE_NAME == 'rDrama' else 26
homoween_begin = datetime.datetime.strptime(f'{homoween_begin_day}/10/{t.year}', '%d/%m/%Y')
homoween_end = datetime.datetime.strptime(f'1/11/{t.year}', '%d/%m/%Y') + datetime.timedelta(hours=16)
def IS_HOMOWEEN():
return SITE == 'devrama.net' or homoween_begin < datetime.datetime.now() < homoween_end
return homoween_begin < datetime.datetime.now() < homoween_end
dkd_begin = datetime.datetime.strptime(f'2/4/{t.year}', '%d/%m/%Y')
dkd_end = datetime.datetime.strptime(f'10/4/{t.year}', '%d/%m/%Y')