Skip to content
Snippets Groups Projects
Commit a1bddd0e authored by fmk17's avatar fmk17
Browse files

Fix rounding

parent 368b8e65
No related branches found
No related tags found
No related merge requests found
......@@ -470,7 +470,7 @@ def try_send_schedule_again(context: CallbackContext) -> None:
def send_scheduled(context: CallbackContext) -> None:
dt = datetime.now()
dt += timedelta(minutes=EVERY_X_MINUTES)
dt += timedelta(minutes=EVERY_X_MINUTES / 2)
dt -= timedelta(
minutes=dt.minute % EVERY_X_MINUTES,
seconds=dt.second,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment