From f330d87d517b14fe1c6234e0108324d00646932b Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Wed, 21 Dec 2022 11:52:29 -0800 Subject: [PATCH] Fix `getGuid` doc string (#1068) --- plexapi/library.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plexapi/library.py b/plexapi/library.py index c23773389..ce2df733f 100644 --- a/plexapi/library.py +++ b/plexapi/library.py @@ -641,12 +641,12 @@ def getGuid(self, guid): guidLookup = {} for item in library.all(): guidLookup[item.guid] = item - guidLookup.update({guid.id for guid in item.guids}} + guidLookup.update({guid.id: item for guid in item.guids}} result1 = guidLookup['plex://show/5d9c086c46115600200aa2fe'] result2 = guidLookup['imdb://tt0944947'] - result4 = guidLookup['tmdb://1399'] - result5 = guidLookup['tvdb://121361'] + result3 = guidLookup['tmdb://1399'] + result4 = guidLookup['tvdb://121361'] """