summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorAira Kyytsönen <akyytson@local>2023-12-12 01:59:51 +0200
committerAira Kyytsönen <akyytson@local>2023-12-12 01:59:51 +0200
commit84d1277c408038ab0df6179659c68ac7f08a098f (patch)
tree8a6f374e9810198a8559d8a236f8179c909c1fe7 /app.py
parent3dc9e71b7c733e7fe6fe9e226ad363f84a2e1dee (diff)
Changing database variable D to db. Making error and infomessages dissapear.
Diffstat (limited to 'app.py')
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index a50dc30..ce1e1fb 100644
--- a/app.py
+++ b/app.py
@@ -15,7 +15,7 @@ else:
app.secret_key = token_hex()
from db.db import DB
-D = DB()
+db = DB()
import routes.base
import routes.answer