Added ability to filter entries by tag

This commit is contained in:
Matthew Lorentz 2018-02-15 19:36:11 -05:00
parent 5af950ee30
commit e0b601b37a

View file

@ -67,7 +67,7 @@ class FilterEntry:
# not case sensitive, so we compare the lower case
for pattern in self.options['patterns'][patternlist]:
finalpattern = pattern.lower()
finaltitle = self.entry[patternlist.split('_')[0]].lower()
finaltitle = str(self.entry[patternlist.split('_')[0]]).lower()
if finalpattern in finaltitle:
self.matching[i] = self.entry[i]
else: