From 19395e4e3710b46bfa381193c968afa7037f1477 Mon Sep 17 00:00:00 2001 From: Rykov7 Date: Thu, 6 Apr 2023 04:09:28 +0300 Subject: [PATCH] add update commit --- app/commands/service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/commands/service.py b/app/commands/service.py index 7cbc1fa..956ea95 100644 --- a/app/commands/service.py +++ b/app/commands/service.py @@ -139,6 +139,7 @@ def set_antispam_report_reminder(message: types.Message): session.query(Chat).filter(Chat.chat_id == message.chat.id).update( {"antispam": antispam, "report": rep, "reminder": rem} ) + session.commit() bot.send_message( message.chat.id, f"""Настройки обновлены. Проверить: /get_group_info"""