From 711d41533510847d4c56174a2baf5e7ea338f809 Mon Sep 17 00:00:00 2001 From: amcmanu3 Date: Sun, 10 Apr 2022 18:04:16 -0400 Subject: [PATCH] Remove queue --- app/classes/shared/main_models.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/classes/shared/main_models.py b/app/classes/shared/main_models.py index 155892a7..8079f7d9 100644 --- a/app/classes/shared/main_models.py +++ b/app/classes/shared/main_models.py @@ -10,8 +10,7 @@ Users = Users try: # pylint: disable=unused-import - from peewee import fn - from playhouse.sqliteq import SqliteQueueDatabase + from peewee import SqliteDatabase, fn from playhouse.shortcuts import model_to_dict except ModuleNotFoundError as err: @@ -20,7 +19,7 @@ except ModuleNotFoundError as err: logger = logging.getLogger(__name__) peewee_logger = logging.getLogger("peewee") peewee_logger.setLevel(logging.INFO) -database = SqliteQueueDatabase( +database = SqliteDatabase( helper.db_path # This is commented out after presenting issues when # moving from SQLiteDatabase to SqliteQueueDatabase