mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 19:53:17 +00:00
fix bug so device returns a object as it should.
This commit is contained in:
parent
4620e00af4
commit
6238fa5fd2
1 changed files with 1 additions and 1 deletions
|
@ -690,7 +690,7 @@ class MyPlexDevice(PlexObject):
|
|||
listargs = [[cls, url, self.token, timeout] for url in self.connections]
|
||||
log.info('Testing %s device connections..', len(listargs))
|
||||
results = utils.threaded(_connect, listargs)
|
||||
_chooseConnection('Device', self.name, results)
|
||||
return _chooseConnection('Device', self.name, results)
|
||||
|
||||
def delete(self):
|
||||
""" Remove this device from your account. """
|
||||
|
|
Loading…
Reference in a new issue