X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/f263f51648eef9739caa92e19ec45b32d7a1e49e..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):