Skip to content

Commit 6238fa5

Browse files
committed
fix bug so device returns a object as it should.
1 parent 4620e00 commit 6238fa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plexapi/myplex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ def connect(self, timeout=None):
690690
listargs = [[cls, url, self.token, timeout] for url in self.connections]
691691
log.info('Testing %s device connections..', len(listargs))
692692
results = utils.threaded(_connect, listargs)
693-
_chooseConnection('Device', self.name, results)
693+
return _chooseConnection('Device', self.name, results)
694694

695695
def delete(self):
696696
""" Remove this device from your account. """

0 commit comments

Comments
 (0)