We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a7aac1 commit 322c342Copy full SHA for 322c342
plexapi/server.py
@@ -187,8 +187,7 @@ def account(self):
187
def agents(self):
188
""" Returns the :class:`~plexapi.media.Agent` objects this server has available. """
189
key = '/system/agents'
190
- data = self._server.query(key, self._server._session.get)
191
- return self.findItems(data)
+ return self.fetchItems(key)
192
193
def createToken(self, type='delegation', scope='all'):
194
"""Create a temp access token for the server."""
0 commit comments