fix issue when only uri_list and no uri is configured

Fixes #58
This commit is contained in:
Christoph Miksche 2020-11-29 16:47:14 +00:00
parent 990da8796c
commit 45bb623f86

View file

@ -94,7 +94,11 @@ class ConfParse:
############ ############
# uri option # uri option
############ ############
options['rss_uri'], feed, feedname, options['nopatternurinoglobalpattern'] = parseuri(config, self.clioptions.rss_uri, feeds, ignore_ssl) if config.has_option('rss', 'uri') or self.clioptions.rss_uri:
options['rss_uri'], feed, feedname, options['nopatternurinoglobalpattern'] = parseuri(config, self.clioptions.rss_uri, feeds, ignore_ssl)
else:
if config.has_option('rss', 'no_uri_pattern_no_global_pattern'):
options['nopatternurinoglobalpattern'] = config.getboolean('rss', 'no_uri_pattern_no_global_pattern')
########################### ###########################
# the cache section # the cache section
########################### ###########################