From 626198165600a473eb96f01aeb471ce84731915b Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Sat, 3 Aug 2019 12:56:32 +0200 Subject: [PATCH] Fix for #991 Removed additional psace before Advanced search (Pull request #996) Set startup message for not relevant imports to debug, to reduce confusion --- cps/opds.py | 1 + cps/services/__init__.py | 6 ++++-- cps/templates/layout.html | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cps/opds.py b/cps/opds.py index d2072313..44e1341d 100644 --- a/cps/opds.py +++ b/cps/opds.py @@ -56,6 +56,7 @@ def requires_basic_auth_if_no_ano(f): @opds.route("/opds/") +@opds.route("/opds") @requires_basic_auth_if_no_ano def feed_index(): return render_xml_template('index.xml') diff --git a/cps/services/__init__.py b/cps/services/__init__.py index 90607160..aa674e6d 100644 --- a/cps/services/__init__.py +++ b/cps/services/__init__.py @@ -26,11 +26,13 @@ log = logger.create() try: from . import goodreads except ImportError as err: - log.warning("goodreads: %s", err) + log.debug("goodreads: %s", err) goodreads = None try: from . import simpleldap as ldap except ImportError as err: - log.warning("simpleldap: %s", err) + log.debug("simpleldap: %s", err) ldap = None + + diff --git a/cps/templates/layout.html b/cps/templates/layout.html index f22ca70d..dcbbc08f 100644 --- a/cps/templates/layout.html +++ b/cps/templates/layout.html @@ -52,7 +52,7 @@