forked from MarseyWorld/MarseyWorld
remove homoween from localhost
parent
969fc7d728
commit
78d1d742d9
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue