Apply ruff formatting to submit_order handler

This commit is contained in:
Adam Moussa 2026-05-13 14:37:56 -04:00
parent 6bc5ccaedd
commit 373f959282

View file

@ -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)