Fix single Plex server case (#27326)
This commit is contained in:
parent
7a57c3a66a
commit
df8bf51598
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class PlexServer:
|
|||
raise ServerNotSpecified(available_servers)
|
||||
|
||||
server_choice = (
|
||||
self._server_name if self._server_name else available_servers[0]
|
||||
self._server_name if self._server_name else available_servers[0][0]
|
||||
)
|
||||
connections = account.resource(server_choice).connections
|
||||
local_url = [x.httpuri for x in connections if x.local]
|
||||
|
|
Loading…
Add table
Reference in a new issue