mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Cast plexapi.Collections.collectionMode and collectionSort to int
This commit is contained in:
parent
9a9db88efd
commit
d4c8066209
1 changed files with 2 additions and 2 deletions
|
@ -1134,8 +1134,8 @@ class Collections(PlexObject):
|
|||
self.childCount = utils.cast(int, data.attrib.get('childCount'))
|
||||
self.minYear = utils.cast(int, data.attrib.get('minYear'))
|
||||
self.maxYear = utils.cast(int, data.attrib.get('maxYear'))
|
||||
self.collectionMode = data.attrib.get('collectionMode')
|
||||
self.collectionSort = data.attrib.get('collectionSort')
|
||||
self.collectionMode = utils.cast(int, data.attrib.get('collectionMode'))
|
||||
self.collectionSort = utils.cast(int, data.attrib.get('collectionSort'))
|
||||
self.labels = self.findItems(data, media.Label)
|
||||
self.fields = self.findItems(data, media.Field)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue