Fix stupid error in cross-referencing image files from subdirectories.

This commit is contained in:
Eric S. Raymond 2007-04-11 03:40:55 +00:00
parent 75428cae81
commit 4a475cb695

View file

@ -166,6 +166,8 @@ class CrossRef:
self.fileref[key].append(fn, n+1)
else:
key = self.imagesearch(name)
if key:
self.fileref[key].append(fn, n+1)
if not key:
self.missing.append((name, reference(fn,n+1)))
rfp.close()