mirror of
https://github.com/pkkid/python-plexapi
synced 2025-02-16 21:08:27 +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(
|
log.info(
|
||||||
'Testing resource connection: %s?X-Plex-Token=%s %s', url, token, okerr)
|
'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:
|
if not results:
|
||||||
raise NotFound('Unable to connect to resource: %s' % self.name)
|
raise NotFound('Unable to connect to resource: %s' % self.name)
|
||||||
log.info('Connecting to server: %s?X-Plex-Token=%s',
|
log.info('Connecting to server: %s?X-Plex-Token=%s',
|
||||||
|
|
Loading…
Add table
Reference in a new issue