From 0399bea51e037ea36d6b340f8068dbe88ebcc551 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Sun, 27 Aug 2023 13:24:29 -0700 Subject: [PATCH] Simplify PlexPartialObject eq return (#1230) --- plexapi/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexapi/base.py b/plexapi/base.py index 88a31bbe..8874e7b6 100644 --- a/plexapi/base.py +++ b/plexapi/base.py @@ -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):