From ae0c5d7ec2dac956a5f89f21e987c4db3f97baa0 Mon Sep 17 00:00:00 2001 From: OzzieIsaacs Date: Wed, 18 Jul 2018 18:48:41 +0200 Subject: [PATCH] Fix for #549 --- cps/ub.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cps/ub.py b/cps/ub.py index 1a64fed9..b7b5cfd4 100644 --- a/cps/ub.py +++ b/cps/ub.py @@ -366,7 +366,10 @@ class Config: self.config_use_goodreads = data.config_use_goodreads self.config_goodreads_api_key = data.config_goodreads_api_key self.config_goodreads_api_secret = data.config_goodreads_api_secret - self.config_mature_content_tags = data.config_mature_content_tags + if data.config_mature_content_tags: + self.config_mature_content_tags = data.config_mature_content_tags + else: + self.config_mature_content_tags = u'' if data.config_logfile: self.config_logfile = data.config_logfile