Skip to content

Commit

Permalink
ignorecase
Browse files Browse the repository at this point in the history
  • Loading branch information
mtill committed Jul 3, 2018
1 parent 60582ee commit 95251be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kontomodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 95251be

Please sign in to comment.