bug in pattern matching

multi-deployment
b3yond 2018-09-24 21:11:28 +02:00
parent d61d5750bb
commit b35e885ae2
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class User(object):
(self.uid, ))
patterns = db.cur.fetchone()[0]
for pattern in patterns.splitlines():
if pattern in report.text.lower():
if pattern.lower() in report.text.lower():
break
else:
# no pattern matched