diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-07-12 13:53:12 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-07-12 13:53:12 -0400 |
commit | 61fb547f64f95c7132459a8bce012f4d52237709 (patch) | |
tree | d8490f1b5cebc0df594a702332f658260113b071 | |
parent | a852f7178709dfcce1833e148ad78a81b9c96cad (diff) |
Use srht.flask.session instead of flask.session
-rw-r--r-- | gitsrht/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitsrht/app.py b/gitsrht/app.py index 47d661c..fecb265 100644 --- a/gitsrht/app.py +++ b/gitsrht/app.py @@ -1,7 +1,6 @@ import humanize import os import stat -from flask import session from functools import lru_cache from gitsrht import urls from gitsrht.git import commit_time, trim_commit @@ -11,6 +10,7 @@ from gitsrht.types import Access, Redirect, Repository, User from scmsrht.flask import ScmSrhtFlask from srht.config import cfg from srht.database import DbSession +from srht.flask import session db = DbSession(cfg("git.sr.ht", "connection-string")) db.init() |