mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 11:43:13 +00:00
Merge branch 'master' of github.com:mjs7231/python-plexapi
This commit is contained in:
commit
df59247741
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ class MyPlexResource(object):
|
|||
log.info(
|
||||
'Testing resource connection: %s?X-Plex-Token=%s %s', url, token, okerr)
|
||||
|
||||
results = [r[2] for r in results if r and r is not None]
|
||||
results = [r[2] for r in results if r and r[2] is not None]
|
||||
if not results:
|
||||
raise NotFound('Unable to connect to resource: %s' % self.name)
|
||||
log.info('Connecting to server: %s?X-Plex-Token=%s',
|
||||
|
|
Loading…
Reference in a new issue