mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
py3 compat
This commit is contained in:
parent
daefabde4c
commit
5ab0639d1f
@ -314,7 +314,7 @@ class OEBReader(object):
|
|||||||
unchecked = new
|
unchecked = new
|
||||||
version = int(self.oeb.version[0])
|
version = int(self.oeb.version[0])
|
||||||
removed_items_to_ignore = getattr(self.oeb, 'removed_items_to_ignore', ())
|
removed_items_to_ignore = getattr(self.oeb, 'removed_items_to_ignore', ())
|
||||||
for item in sorted(extras):
|
for item in extras:
|
||||||
if item.href in removed_items_to_ignore:
|
if item.href in removed_items_to_ignore:
|
||||||
continue
|
continue
|
||||||
if version >= 2:
|
if version >= 2:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user