@ -40,7 +40,7 @@ def get_cursor():
def get_db():
if "db" not in g:
g.db = psycopg2.connect(dbname="lesetagebuch")
g.db = psycopg2.connect(dbname="lesetagebuch", user="lesetagebuch")
return g.db
@app.teardown_appcontext