mirror of
https://github.com/LukeHagar/pypistats.org.git
synced 2025-12-06 04:21:09 +00:00
dont actually need db in contexts
This commit is contained in:
@@ -28,5 +28,5 @@ def before_request():
|
||||
g.user = None
|
||||
if "user_id" in session:
|
||||
g.user = User.query.get(session["user_id"])
|
||||
if "db" not in g:
|
||||
g.db = db
|
||||
# if "db" not in g:
|
||||
# g.db = db
|
||||
|
||||
Reference in New Issue
Block a user