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/answer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'routes/answer.py') 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 -- cgit v1.2.3