mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 06:04:15 +00:00
fixup
This commit is contained in:
parent
351fe3565d
commit
a4abc0e223
2 changed files with 1 additions and 2 deletions
|
@ -265,7 +265,6 @@ class Session(PlexObject):
|
|||
self.location = data.attrib.get('location')
|
||||
|
||||
|
||||
|
||||
@utils.registerPlexObject
|
||||
class TranscodeSession(PlexObject):
|
||||
""" Represents a current transcode session.
|
||||
|
|
|
@ -184,7 +184,7 @@ class PlexServer(PlexObject):
|
|||
port = elem.attrib.get('port')
|
||||
if port is None:
|
||||
log.debug("%s didn't provide a port. Checking https://plex.tv/devices.xml" % elem.attrib.get('name'))
|
||||
data = cache_resource or self._server._session.get('https://plex.tv/devices.xml?X-Plex-Token=%s' % self.token)
|
||||
data = cache_resource or self._server._session.get('https://plex.tv/devices.xml?X-Plex-Token=%s' % self.token) # noqa
|
||||
cache_resource = data
|
||||
resources = MyPlexResource(self, data)
|
||||
for resource in resources:
|
||||
|
|
Loading…
Reference in a new issue