Minor update for #3540

This commit is contained in:
Miroslav Stampar
2019-03-21 16:35:48 +01:00
parent 5a71210c8a
commit 7d807bfdee
3 changed files with 10 additions and 9 deletions

View File

@@ -2575,7 +2575,7 @@ def extractErrorMessage(page):
if isinstance(page, basestring):
for regex in ERROR_PARSING_REGEXES:
match = re.search(regex, page, re.DOTALL | re.IGNORECASE)
match = re.search(regex, page, re.IGNORECASE)
if match:
retVal = htmlunescape(match.group("result")).replace("<br>", "\n").strip()