Fix KeyError for library sync
This commit is contained in:
parent
872f17851f
commit
c2f1bca6c2
1 changed files with 1 additions and 1 deletions
|
@ -2092,7 +2092,7 @@ class API():
|
|||
allartworks['Backdrop'].append(background)
|
||||
|
||||
if not allartworks['Primary']:
|
||||
primary = item['parentThumb']
|
||||
primary = item.get('parentThumb')
|
||||
if primary:
|
||||
primary = "%s%s" % (self.server, primary)
|
||||
primary = self.addPlexCredentialsToUrl(primary)
|
||||
|
|
Loading…
Reference in a new issue