Fix types in group comparision

This commit is contained in:
Christian Wolf 2023-11-20 10:21:27 +01:00
parent f182f4fbcc
commit 90acb45a03

View File

@ -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