mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
oops
This commit is contained in:
parent
b842fe758a
commit
3f03ad698a
@ -42,7 +42,7 @@ class ConversionOption(object):
|
||||
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…
x
Reference in New Issue
Block a user