summaryrefslogtreecommitdiff
path: root/routes/tools.py
diff options
context:
space:
mode:
authorArvid Koskinen <akoskine@local>2023-12-03 11:34:39 +0200
committerArvid Koskinen <akoskine@local>2023-12-03 11:34:39 +0200
commit14365bb113400e576157be9da384c7bf0d80255c (patch)
tree466ff1def0d5c07baa13dcb40504b5fc456d6683 /routes/tools.py
parent23518a49f95837199036e07deb4a97cad9e871bd (diff)
Move DB stuff inside a class for further refactoring.
Diffstat (limited to 'routes/tools.py')
-rw-r--r--routes/tools.py2
1 files changed, 1 insertions, 1 deletions
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=[]