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] + \