From 90acb45a0390e6c3229b3d482d3f3edf276f2a0c Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Mon, 20 Nov 2023 10:21:27 +0100 Subject: [PATCH] Fix types in group comparision --- src/solo_turnier/worker.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/solo_turnier/worker.py b/src/solo_turnier/worker.py index 99e8a34..bee9d46 100644 --- a/src/solo_turnier/worker.py +++ b/src/solo_turnier/worker.py @@ -502,9 +502,15 @@ class Worker: if fixture is None: self.l.error("A fixture for the tuple %s could not be read.", tup) else: - if fixture[2] is not None and fixture[2] != group: + if ( + fixture[2] is not None + and groupParser.parseClass(fixture[2]) != group + ): self.l.log( - 5, "Skipping id %s in group %s as not part", tup[3], group + 5, + "Skipping id %s in group %s as in other group.", + tup[3], + group, ) continue