From 11ee6577a359862875936fd24b41d141b30ad0cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ella=20V=C3=A4is=C3=A4nen?= Date: Sun, 3 Dec 2023 14:54:51 +0200 Subject: Just cleaning up. Unused imports and commanted code. --- app.py | 4 ---- db/db.py | 2 -- 2 files changed, 6 deletions(-) diff --git a/app.py b/app.py index 72becc3..a50dc30 100644 --- a/app.py +++ b/app.py @@ -1,7 +1,6 @@ from secrets import token_hex from flask import Flask from os import getenv -#from db_actions import db app = Flask(__name__, static_url_path='') @@ -18,11 +17,8 @@ else: from db.db import DB D = DB() -#db.init_app(app) - import routes.base import routes.answer import routes.create import routes.analyse import routes.question - diff --git a/db/db.py b/db/db.py index 23a3471..a039180 100644 --- a/db/db.py +++ b/db/db.py @@ -1,6 +1,4 @@ -from flask import Flask from flask_sqlalchemy import SQLAlchemy -from sqlalchemy.sql import text from app import app -- cgit v1.2.3