diff --git a/functions/submit_order/handler.py b/functions/submit_order/handler.py index 59b854f..f242669 100644 --- a/functions/submit_order/handler.py +++ b/functions/submit_order/handler.py @@ -145,9 +145,7 @@ def handle_form_status(event): # If today is Monday past 8am, next Monday is 7 days away days_until_monday = 7 reopen_date = today + timedelta(days=days_until_monday) - next_monday = _dt.datetime.combine( - reopen_date, _dt.time(8, 0), tzinfo=EASTERN - ) + next_monday = _dt.datetime.combine(reopen_date, _dt.time(8, 0), tzinfo=EASTERN) result["reopen_at"] = int(next_monday.timestamp()) return response(200, result)