mirror of
https://github.com/apprenticeharper/DeDRM_tools
synced 2024-12-26 09:58:55 +01:00
fill unknown symbols in known catalog
This commit is contained in:
parent
a7974f0f14
commit
51c8be6baf
1 changed files with 2 additions and 0 deletions
|
@ -512,6 +512,8 @@ class BinaryIonParser(object):
|
||||||
|
|
||||||
if table is not None:
|
if table is not None:
|
||||||
self.symbols.import_(table, min(maxid, len(table.symnames)))
|
self.symbols.import_(table, min(maxid, len(table.symnames)))
|
||||||
|
if len(table.symnames) < maxid:
|
||||||
|
self.symbols.importunknown(name + "-unknown", maxid - len(table.symnames))
|
||||||
else:
|
else:
|
||||||
self.symbols.importunknown(name, maxid)
|
self.symbols.importunknown(name, maxid)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue