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/answer.py | |
parent | 23518a49f95837199036e07deb4a97cad9e871bd (diff) |
Move DB stuff inside a class for further refactoring.
Diffstat (limited to 'routes/answer.py')
-rw-r--r-- | routes/answer.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/routes/answer.py b/routes/answer.py index e224b44..89b6aa8 100644 --- a/routes/answer.py +++ b/routes/answer.py @@ -1,6 +1,5 @@ -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 |