mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 20:35:18 +02:00
oops
This commit is contained in:
parent
b842fe758a
commit
3f03ad698a
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ def __hash__(self):
|
|||
return hash(self.name)
|
||||
|
||||
def __eq__(self, other):
|
||||
return self.name == other.name
|
||||
return self.name == getattr(other, 'name', other)
|
||||
|
||||
def clone(self):
|
||||
return ConversionOption(name=self.name, help=self.help,
|
||||
|
|
|
|||
Loading…
Reference in a new issue