Fix Regex about competition names (now OT)
This commit is contained in:
parent
9c2b812387
commit
fda97a811c
@ -36,7 +36,7 @@ class HtmlParser:
|
|||||||
if title is None:
|
if title is None:
|
||||||
title = self.getEventTitle()
|
title = self.getEventTitle()
|
||||||
|
|
||||||
match = re.compile('.*?ETW, Solos (.*?)(?: ".*")?').fullmatch(title)
|
match = re.compile('.*?OT, Solos (.*?)(?: ".*")?').fullmatch(title)
|
||||||
if match is None:
|
if match is None:
|
||||||
self.l.error('Cannot parse html title "%s". Possible bug?', title)
|
self.l.error('Cannot parse html title "%s". Possible bug?', title)
|
||||||
raise Exception(f'Cannot parse title "{title}"')
|
raise Exception(f'Cannot parse title "{title}"')
|
||||||
|
Loading…
Reference in New Issue
Block a user