summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElla Väisänen <evaisane@local>2023-12-03 14:54:51 +0200
committerElla Väisänen <evaisane@local>2023-12-03 14:54:51 +0200
commit11ee6577a359862875936fd24b41d141b30ad0cf (patch)
treeaa4badf9b776b0d6cb6352ba9bb1aa5be26bf364
parent477410a6c033a0cbd8b07fae123a1e9386488ba6 (diff)
Just cleaning up. Unused imports and commanted code.
-rw-r--r--app.py4
-rw-r--r--db/db.py2
2 files changed, 0 insertions, 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