diff --git a/app.py b/app.py index 23acef8..5ec5658 100644 --- a/app.py +++ b/app.py @@ -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