Reduce log level of non-solo competitions

This commit is contained in:
Christian Wolf 2024-03-06 18:20:50 +01:00
parent fda97a811c
commit 70e7008f9c

View File

@ -38,8 +38,8 @@ class HtmlParser:
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}"')
self.l.info('Cannot parse html title "%s". Is it a solo competition? Possible bug.', title)
raise Exception(f'Cannot parse title "{title}".')
rest = match.group(1)
rawGroup, rawClass, dance = rest.split(" ", 2)