mirror of
https://github.com/pkkid/python-plexapi
synced 2025-02-16 12:58:26 +00:00
Fix switchUser keyword arguments
This commit is contained in:
parent
a40063630d
commit
b0a9fb7ebe
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ class PlexServer(PlexObject):
|
|||
"""
|
||||
user = self.myPlexAccount().user(username)
|
||||
userToken = user.get_token(self.machineIdentifier)
|
||||
return PlexServer(self._baseurl, userToken, self._timeout)
|
||||
return PlexServer(self._baseurl, token=userToken, timeout=self._timeout)
|
||||
|
||||
def systemAccounts(self):
|
||||
""" Returns a list of :class:`~plexapi.server.SystemAccount` objects this server contains. """
|
||||
|
|
Loading…
Add table
Reference in a new issue