remove homoween from localhost

master
Aevann 2023-10-02 05:58:28 +03:00
parent 969fc7d728
commit 78d1d742d9
1 changed files with 1 additions and 1 deletions

View File

@ -993,7 +993,7 @@ def IS_FISTMAS():
homoween_begin = datetime.datetime.strptime(f'10/10/{t.year}', '%d/%m/%Y')
homoween_end = datetime.datetime.strptime(f'1/11/{t.year}', '%d/%m/%Y')
def IS_HOMOWEEN():
return IS_LOCALHOST or SITE == 'devrama.net' or homoween_begin < datetime.datetime.now() < homoween_end
return SITE == 'devrama.net' or homoween_begin < datetime.datetime.now() < homoween_end
dkd_begin = datetime.datetime.strptime(f'25/4/{t.year}', '%d/%m/%Y')
dkd_end = datetime.datetime.strptime(f'2/5/{t.year}', '%d/%m/%Y')