mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 14:14:19 +00:00
Update media.py
This commit is contained in:
parent
5e2805d240
commit
14f70620ab
1 changed files with 1 additions and 2 deletions
|
@ -255,11 +255,10 @@ class SubtitleStream(MediaPartStream):
|
|||
|
||||
@utils.registerPlexObject
|
||||
class Session(PlexObject):
|
||||
"""Represents a current session."""
|
||||
""" Represents a current session. """
|
||||
TAG = 'Session'
|
||||
|
||||
def _loadData(self, data):
|
||||
print('shit')
|
||||
self.id = data.attrib.get('id')
|
||||
self.bandwidth = utils.cast(int, data.attrib.get('bandwidth'))
|
||||
self.location = data.attrib.get('location')
|
||||
|
|
Loading…
Reference in a new issue