From 669787bbce81a7ba7005f6abcdaa6af41211b705 Mon Sep 17 00:00:00 2001 From: lemoer Date: Fri, 27 Dec 2024 22:31:42 +0100 Subject: [PATCH] LabCleaningBot: fix session.commit() in sync_members_and_tasks() --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index fa6de92..eb3625c 100644 --- a/main.py +++ b/main.py @@ -435,7 +435,8 @@ You have time to answer for {format_seconds(task.timeout)}.""" recipients=[request.user.name]) res = self.api.send_message(message) - session.commit() + + session.commit() await asyncio.sleep(1)