Make table matching between files more robust
This commit is contained in:
parent
6c6b8485fc
commit
f182f4fbcc
@ -498,10 +498,15 @@ class Worker:
|
||||
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
|
||||
fixture = importedData.htmlResults.tabges.get(tup, None)
|
||||
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:
|
||||
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])
|
||||
|
Loading…
Reference in New Issue
Block a user