From 14365bb113400e576157be9da384c7bf0d80255c Mon Sep 17 00:00:00 2001 From: Arvid Koskinen Date: Sun, 3 Dec 2023 11:34:39 +0200 Subject: Move DB stuff inside a class for further refactoring. --- routes/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes/tools.py') diff --git a/routes/tools.py b/routes/tools.py index c55ca74..5f6e141 100644 --- a/routes/tools.py +++ b/routes/tools.py @@ -1,6 +1,6 @@ from random import randint from flask import session, request -import db_actions as D +from app import D def rows2dicts( rows, names ): dlist=[] -- cgit v1.2.3