mirror of
https://github.com/pkkid/python-plexapi
synced 2024-09-20 05:41:58 +00:00
Simplify PlexPartialObject eq return (#1230)
This commit is contained in:
parent
80fd90b687
commit
0399bea51e
1 changed files with 1 additions and 1 deletions
|
@ -502,7 +502,7 @@ class PlexPartialObject(PlexObject):
|
|||
|
||||
def __eq__(self, other):
|
||||
if isinstance(other, PlexPartialObject):
|
||||
return other not in [None, []] and self.key == other.key
|
||||
return self.key == other.key
|
||||
return NotImplemented
|
||||
|
||||
def __hash__(self):
|
||||
|
|
Loading…
Reference in a new issue