summaryrefslogtreecommitdiff
path: root/routes/analyse.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/analyse.py
parent23518a49f95837199036e07deb4a97cad9e871bd (diff)
Move DB stuff inside a class for further refactoring.
Diffstat (limited to 'routes/analyse.py')
-rw-r--r--routes/analyse.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/routes/analyse.py b/routes/analyse.py
index 3b59ae7..8175d47 100644
--- a/routes/analyse.py
+++ b/routes/analyse.py
@@ -1,7 +1,6 @@
from itertools import combinations
-from app import app
+from app import app, D
from flask import render_template,session,request,redirect
-import db_actions as D
from routes.tools import rows2dicts, get_alert, get_nick, csrf_check
def find_best_and_worst(aid, uid):