Added multiuser branch

This commit is contained in:
Joan Cano
2023-03-04 22:57:05 +01:00
parent da20bfe5a5
commit 2abff6dddb
2 changed files with 18 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ import threading
import logging
import prettytable
import helpers
import walladb
from worker import Worker
from telegram import Update
@@ -127,6 +128,7 @@ async def list_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> No
await update.message.reply_markdown_v2(f'```{(table)}```')
def main()->None:
walladb.setup_db()
products = parse_json_file()
for product in products: