diff options
author | Arvid Koskinen <akoskine@local> | 2023-12-03 11:34:39 +0200 |
---|---|---|
committer | Arvid Koskinen <akoskine@local> | 2023-12-03 11:34:39 +0200 |
commit | 14365bb113400e576157be9da384c7bf0d80255c (patch) | |
tree | 466ff1def0d5c07baa13dcb40504b5fc456d6683 /routes/analyse.py | |
parent | 23518a49f95837199036e07deb4a97cad9e871bd (diff) |
Move DB stuff inside a class for further refactoring.
Diffstat (limited to 'routes/analyse.py')
-rw-r--r-- | routes/analyse.py | 3 |
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): |