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:
|
if group not in activeGroups:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
fixture = importedData.htmlResults.tabges[tup]
|
fixture = importedData.htmlResults.tabges.get(tup, None)
|
||||||
if fixture[2] is not None and fixture[2] != group:
|
if fixture is None:
|
||||||
self.l.log(5, "Skipping id %s in group %s as not part", tup[3], group)
|
self.l.error("A fixture for the tuple %s could not be read.", tup)
|
||||||
continue
|
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 = importedData.htmlResults.results[tup][0]
|
||||||
part.id = int(tup[3])
|
part.id = int(tup[3])
|
||||||
|
Loading…
Reference in New Issue
Block a user