From 63379fe5dba561695dc1abc4697c08f68b756b7a Mon Sep 17 00:00:00 2001 From: OzzieIsaacs Date: Sun, 5 Feb 2017 14:27:57 +0100 Subject: [PATCH] Fix for #101 --- cps/web.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cps/web.py b/cps/web.py index 59216e0b..465b7baa 100755 --- a/cps/web.py +++ b/cps/web.py @@ -421,6 +421,7 @@ def before_request(): g.user = current_user g.allow_registration = config.config_public_reg g.allow_upload = config.config_uploading + g.public_shelfes = ub.session.query(ub.Shelf).filter(ub.Shelf.is_public == 1).all() if not config.db_configured and request.endpoint not in ('basic_configuration', 'login') and '/static/' not in request.path: return redirect(url_for('basic_configuration'))