mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #416 (Error converting .lit file)
This commit is contained in:
parent
80c665544c
commit
e67eca9487
@ -576,8 +576,9 @@ class LitReader(object):
|
||||
mime_type, raw = consume_sized_utf8_string(raw, zpad=True)
|
||||
self.manifest[internal] = ManifestItem(
|
||||
original, internal, mime_type, offset, root, state)
|
||||
# Remove any common path elements
|
||||
mlist = self.manifest.values()
|
||||
# Remove any common path elements
|
||||
if len(mlist) > 1:
|
||||
shared = mlist[0].path
|
||||
for item in mlist[1:]:
|
||||
path = item.path
|
||||
|
Loading…
x
Reference in New Issue
Block a user