Skip to content

Commit b7f2913

Browse files
authored
Fix typo in getGuid docstring cache example (#1381)
1 parent 642ba8b commit b7f2913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plexapi/library.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ def getGuid(self, guid):
662662
guidLookup = {}
663663
for item in library.all():
664664
guidLookup[item.guid] = item
665-
guidLookup.update({guid.id: item for guid in item.guids}}
665+
guidLookup.update({guid.id: item for guid in item.guids})
666666
667667
result1 = guidLookup['plex://show/5d9c086c46115600200aa2fe']
668668
result2 = guidLookup['imdb://tt0944947']

0 commit comments

Comments
 (0)