From de059333864ee78d5091703386d4b89a3f993550 Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Mon, 24 Apr 2023 20:21:20 +0200 Subject: [PATCH] no file path issues --- bot/commands/list/list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/commands/list/list.py b/bot/commands/list/list.py index 00f1c87..7c3a7e2 100644 --- a/bot/commands/list/list.py +++ b/bot/commands/list/list.py @@ -46,7 +46,7 @@ class ListHandler(BaseHandler): async def entry_point(self, update, context) -> None: await super().entry_point(update, context) - set_db(DB_DIR / f"{update.message.chat_id}.db") + set_db(DB_DIR / f"chat_{update.message.chat_id}.db") with db: lists = ListModel.select() keyboard = [[InlineKeyboardButton(k.name, callback_data=f"list-{k.name}")] for k in lists] + \