From f6cb46d4900b4fe3e8d8453277bf5779e5589eeb Mon Sep 17 00:00:00 2001 From: Steve Johnson Date: Sat, 14 Jan 2017 09:53:46 -0800 Subject: [PATCH] Fix broken tests (no new ones yet) --- beetsplug/web/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/web/__init__.py b/beetsplug/web/__init__.py index 88bf299e4..a981ccabc 100644 --- a/beetsplug/web/__init__.py +++ b/beetsplug/web/__init__.py @@ -340,7 +340,7 @@ class WebPlugin(BeetsPlugin): app.config['JSONIFY_PRETTYPRINT_REGULAR'] = False app.config['exclude_paths_from_items'] = ( - self.config['exclude_paths_from_items']) + self.config.get('exclude_paths_from_items', True)) # Enable CORS if required. if self.config['cors']: