X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/065bd5b754cc6e6ea5da17e11a939f7a5b34da75..453a7ca3b9d5e7093f843b883db58f9beb1b3aa8:/floof/lib/base.py diff --git a/floof/lib/base.py b/floof/lib/base.py index b42d2be..c93803b 100644 --- a/floof/lib/base.py +++ b/floof/lib/base.py @@ -21,6 +21,7 @@ class BaseController(WSGIController): try: c.user = User.query.get(session['user_id']) except: + c.user = None pass def __call__(self, environ, start_response):