Fix flake8

This commit is contained in:
JonnyWong16 2020-12-23 23:05:08 -08:00
parent 33b725d8d4
commit 5df75728b3
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -44,7 +44,7 @@ class Photoalbum(PlexPartialObject):
self.fields = self.findItems(data, media.Field)
self.guid = data.attrib.get('guid')
self.index = utils.cast(int, data.attrib.get('index'))
self.key = data.attrib.get('key'. '')
self.key = data.attrib.get('key', '')
self.librarySectionID = data.attrib.get('librarySectionID')
self.librarySectionKey = data.attrib.get('librarySectionKey')
self.librarySectionTitle = data.attrib.get('librarySectionTitle')