Skip to content

Commit d7d2d5a

Browse files
committed
flake fix
indention and newline at end of file
1 parent fb1ea67 commit d7d2d5a

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

plexapi/media.py

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -370,38 +370,38 @@ class Conversion(PlexObject):
370370
TAG = 'Video'
371371

372372
def _loadData(self, data):
373-
self._data = data
374-
self.addedAt = data.attrib.get('addedAt')
375-
self.art = data.attrib.get('art')
376-
self.chapterSource = data.attrib.get('chapterSource')
377-
self.contentRating = data.attrib.get('contentRating')
378-
self.duration = data.attrib.get('duration')
379-
self.generatorID = data.attrib.get('generatorID')
380-
self.generatorType = data.attrib.get('generatorType')
381-
self.guid = data.attrib.get('guid')
382-
self.key = data.attrib.get('key')
383-
self.lastViewedAt = data.attrib.get('lastViewedAt')
384-
self.librarySectionID = data.attrib.get('librarySectionID')
385-
self.librarySectionKey = data.attrib.get('librarySectionKey')
386-
self.librarySectionTitle = data.attrib.get('librarySectionTitle')
387-
self.originallyAvailableAt = data.attrib.get('originallyAvailableAt')
388-
self.playQueueItemID = data.attrib.get('playQueueItemID')
389-
self.playlistID = data.attrib.get('playlistID')
390-
self.primaryExtraKey = data.attrib.get('primaryExtraKey')
391-
self.rating = data.attrib.get('rating')
392-
self.ratingKey = data.attrib.get('ratingKey')
393-
self.studio = data.attrib.get('studio')
394-
self.summary = data.attrib.get('summary')
395-
self.tagline = data.attrib.get('tagline')
396-
self.target = data.attrib.get('target')
397-
self.thumb = data.attrib.get('thumb')
398-
self.title = data.attrib.get('title')
399-
self.type = data.attrib.get('type')
400-
self.updatedAt = data.attrib.get('updatedAt')
401-
self.userID = data.attrib.get('userID')
402-
self.username = data.attrib.get('username')
403-
self.viewOffset = data.attrib.get('viewOffset')
404-
self.year = data.attrib.get('year')
373+
self._data = data
374+
self.addedAt = data.attrib.get('addedAt')
375+
self.art = data.attrib.get('art')
376+
self.chapterSource = data.attrib.get('chapterSource')
377+
self.contentRating = data.attrib.get('contentRating')
378+
self.duration = data.attrib.get('duration')
379+
self.generatorID = data.attrib.get('generatorID')
380+
self.generatorType = data.attrib.get('generatorType')
381+
self.guid = data.attrib.get('guid')
382+
self.key = data.attrib.get('key')
383+
self.lastViewedAt = data.attrib.get('lastViewedAt')
384+
self.librarySectionID = data.attrib.get('librarySectionID')
385+
self.librarySectionKey = data.attrib.get('librarySectionKey')
386+
self.librarySectionTitle = data.attrib.get('librarySectionTitle')
387+
self.originallyAvailableAt = data.attrib.get('originallyAvailableAt')
388+
self.playQueueItemID = data.attrib.get('playQueueItemID')
389+
self.playlistID = data.attrib.get('playlistID')
390+
self.primaryExtraKey = data.attrib.get('primaryExtraKey')
391+
self.rating = data.attrib.get('rating')
392+
self.ratingKey = data.attrib.get('ratingKey')
393+
self.studio = data.attrib.get('studio')
394+
self.summary = data.attrib.get('summary')
395+
self.tagline = data.attrib.get('tagline')
396+
self.target = data.attrib.get('target')
397+
self.thumb = data.attrib.get('thumb')
398+
self.title = data.attrib.get('title')
399+
self.type = data.attrib.get('type')
400+
self.updatedAt = data.attrib.get('updatedAt')
401+
self.userID = data.attrib.get('userID')
402+
self.username = data.attrib.get('username')
403+
self.viewOffset = data.attrib.get('viewOffset')
404+
self.year = data.attrib.get('year')
405405

406406

407407
class MediaTag(PlexObject):
@@ -709,4 +709,4 @@ def _loadData(self, data):
709709
self.name = data.attrib.get('name')
710710
self.languageCode = []
711711
for code in data:
712-
self.languageCode += [code.attrib.get('code')]
712+
self.languageCode += [code.attrib.get('code')]

0 commit comments

Comments
 (0)