From 5243ac4ea726c085e4c20124eb2755e955dc093c Mon Sep 17 00:00:00 2001 From: Carl Chenet Date: Tue, 27 Aug 2019 18:58:39 +0200 Subject: [PATCH] fix missing default vale for case sensitve pattern matching --- feed2toot/confparsers/rss/pattern.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/feed2toot/confparsers/rss/pattern.py b/feed2toot/confparsers/rss/pattern.py index b573035..183917b 100644 --- a/feed2toot/confparsers/rss/pattern.py +++ b/feed2toot/confparsers/rss/pattern.py @@ -49,4 +49,7 @@ def parsepattern(config): except ValueError as err: logging.warn(err) patternscasesensitive[currentoption] = True + else: + # default value + patternscasesensitive[currentoption] = False return patterns, patternscasesensitive