We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 77b1d0e + 43a54d5 commit 3b62211Copy full SHA for 3b62211
plexapi/photo.py
@@ -44,7 +44,7 @@ def _loadData(self, data):
44
self.fields = self.findItems(data, media.Field)
45
self.guid = data.attrib.get('guid')
46
self.index = utils.cast(int, data.attrib.get('index'))
47
- self.key = data.attrib.get('key', '')
+ self.key = data.attrib.get('key', '').replace('/children', '') # FIX_BUG_50
48
self.librarySectionID = data.attrib.get('librarySectionID')
49
self.librarySectionKey = data.attrib.get('librarySectionKey')
50
self.librarySectionTitle = data.attrib.get('librarySectionTitle')
0 commit comments