From aaa311ee03f139d3eaa20e100857e2e3c9c75441 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Wed, 8 Nov 2023 20:00:01 +0100 Subject: [PATCH] Avoid issue with rounds that contain all previous participants --- src/solo_turnier/html_parser.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/solo_turnier/html_parser.py b/src/solo_turnier/html_parser.py index 7117e4b..db97cac 100644 --- a/src/solo_turnier/html_parser.py +++ b/src/solo_turnier/html_parser.py @@ -57,6 +57,9 @@ class HtmlParser: if len(tds) != 2: return + if tds[1].contents[0].startswith('Alle Starter weiter genommen.'): + self.l.info('No excluded starters found.') + return regex = re.compile('(.*) \\(([0-9]+)\\)') place = tds[0].contents[0]