From fda97a811c5a9dd51a8cbe063e8dcf09ca4cbb67 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Wed, 6 Mar 2024 18:20:25 +0100 Subject: [PATCH] Fix Regex about competition names (now OT) --- src/solo_turnier/html_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/solo_turnier/html_parser.py b/src/solo_turnier/html_parser.py index 53077a7..c465aca 100644 --- a/src/solo_turnier/html_parser.py +++ b/src/solo_turnier/html_parser.py @@ -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}"')