Fix Regex about competition names (now OT)

This commit is contained in:
Christian Wolf 2024-03-06 18:20:25 +01:00
parent 9c2b812387
commit fda97a811c

View File

@ -36,7 +36,7 @@ class HtmlParser:
if title is None:
title = self.getEventTitle()
match = re.compile('.*?ETW, Solos (.*?)(?: ".*")?').fullmatch(title)
match = re.compile('.*?OT, Solos (.*?)(?: ".*")?').fullmatch(title)
if match is None:
self.l.error('Cannot parse html title "%s". Possible bug?', title)
raise Exception(f'Cannot parse title "{title}"')