From e59e1f5049c1b3d9b5ff7f61d7f6051cd2950b22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D0=B5=D0=BA=D0=BB=D0=B5=D0=BC=D0=B8=D1=88=D0=B5?= =?UTF-8?q?=D0=B2=20=D0=9F=D0=B5=D1=82=D1=80=20=D0=90=D0=BB=D0=B5=D0=BA?= =?UTF-8?q?=D1=81=D0=B5=D0=B5=D0=B2=D0=B8=D1=87?= Date: Thu, 30 May 2024 20:44:13 +0700 Subject: [PATCH] Fix rebase artifacts --- backend/apps/webui/internal/db.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/backend/apps/webui/internal/db.py b/backend/apps/webui/internal/db.py index dda58a4e1..7420bd019 100644 --- a/backend/apps/webui/internal/db.py +++ b/backend/apps/webui/internal/db.py @@ -1,17 +1,13 @@ +import os +import logging import json from peewee import * -from peewee_migrate import Router -from playhouse.db_url import connect -from config import SRC_LOG_LEVELS, DATA_DIR, DATABASE_URL, BACKEND_DIR -import os -import logging - from peewee_migrate import Router from playhouse.db_url import connect from apps.webui.internal.wrappers import PeeweeConnectionState, register_peewee_databases -from config import SRC_LOG_LEVELS, DATA_DIR, DATABASE_URL +from config import SRC_LOG_LEVELS, DATA_DIR, DATABASE_URL, BACKEND_DIR log = logging.getLogger(__name__) log.setLevel(SRC_LOG_LEVELS["DB"])