mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 07:43:08 +02:00
Fix bug in Manifest __contains__() method.
This commit is contained in:
parent
d46abf8c50
commit
a52c0b5c21
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ def items(self):
|
|||
yield id, item
|
||||
|
||||
def __contains__(self, key):
|
||||
return id in self.ids
|
||||
return key in self.ids
|
||||
|
||||
def to_opf1(self, parent=None):
|
||||
elem = element(parent, 'manifest')
|
||||
|
|
|
|||
Loading…
Reference in a new issue