gah
This commit is contained in:
parent
f0866f6f8d
commit
88a9bfd5fb
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ def post_registerCheck() -> Any:
|
||||||
|
|
||||||
end_time = start_time + duration_time
|
end_time = start_time + duration_time
|
||||||
|
|
||||||
now_time = datetime.datetime.utcnow()
|
now_time = datetime.datetime.utcnow().replace(tzinfo=pytz.utc)
|
||||||
if start_time - now_time > datetime.timedelta(hours=1):
|
if start_time - now_time > datetime.timedelta(hours=1):
|
||||||
return genFail("This show too far away, please try again within an hour of starting your show.")
|
return genFail("This show too far away, please try again within an hour of starting your show.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue