From 299dc340af31c4f7e6c601f133a5c10d6396225f Mon Sep 17 00:00:00 2001 From: flifloo Date: Mon, 13 Jan 2020 21:32:08 +0100 Subject: [PATCH] Forget to commit on user update when edt notification is send --- TelegramEDT/edt_notif.py | 1 + 1 file changed, 1 insertion(+) diff --git a/TelegramEDT/edt_notif.py b/TelegramEDT/edt_notif.py index 9ac3746..9d8a704 100644 --- a/TelegramEDT/edt_notif.py +++ b/TelegramEDT/edt_notif.py @@ -26,6 +26,7 @@ async def notif(): else: if nt: await bot.send_message(u.id, lang(u, "notif_event")+str(nt), parse_mode=ParseMode.MARKDOWN) + session.commit() async def notif_cmd(message: types.Message):