From 95251be282ab2b9fed9ff3211611798119a258b1 Mon Sep 17 00:00:00 2001 From: Debian Guru Date: Tue, 3 Jul 2018 22:34:30 +0200 Subject: [PATCH] ignorecase --- kontomodel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kontomodel.py b/kontomodel.py index 3ffed6d..3842f81 100644 --- a/kontomodel.py +++ b/kontomodel.py @@ -154,7 +154,7 @@ def getConsolidated(byCategory, traceNames, fromDate, toDate, categories, accoun compiledPattern = None if thepattern is not None: - compiledPattern = re.compile(thepattern) + compiledPattern = re.compile(thepattern, re.IGNORECASE) for f in filecontent: if len(f['category']) == 0: