Update media.py

This commit is contained in:
Michael Shepanski 2017-02-26 21:12:56 -05:00 committed by GitHub
parent 5e2805d240
commit 14f70620ab

View file

@ -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')