Reduce log level of non-solo competitions
This commit is contained in:
parent
fda97a811c
commit
70e7008f9c
@ -38,8 +38,8 @@ class HtmlParser:
|
|||||||
|
|
||||||
match = re.compile('.*?OT, 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.info('Cannot parse html title "%s". Is it a solo competition? Possible bug.', title)
|
||||||
raise Exception(f'Cannot parse title "{title}"')
|
raise Exception(f'Cannot parse title "{title}".')
|
||||||
|
|
||||||
rest = match.group(1)
|
rest = match.group(1)
|
||||||
rawGroup, rawClass, dance = rest.split(" ", 2)
|
rawGroup, rawClass, dance = rest.split(" ", 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user