Increase consistency of chceks

This commit is contained in:
Christian Wolf 2023-11-19 16:55:42 +01:00
parent 30e4a43a9f
commit ee3789aab9

View File

@ -535,13 +535,20 @@ class Worker:
ret = []
self.l.log(5, 'Table %s', pformat(importedData.htmlResults.tabges))
self.l.log(5, 'Results %s', pformat(importedData.htmlResults.results))
# self.l.log(5, 'Table %s', pformat(importedData.htmlResults.tabges))
# self.l.log(5, 'Results %s', pformat(importedData.htmlResults.results))
for tup in importedData.htmlResults.results.keys():
gr = groupParser.parseClass(tup[0])
if not gr == group:
currentGroup = groupParser.parseClass(tup[0])
activeGroups = currentGroup.getContainedGroups()
if group not in activeGroups:
continue
fixture = importedData.htmlResults.tabges[tup]
if fixture[2] is not None and fixture[2] != group:
self.l.log(5, 'Skipping id %s in group %s as not part', tup[3], group)
continue
part = importedData.htmlResults.results[tup][0]
part.id = int(tup[3])
ret.append(part)