mirror of
https://github.com/pkkid/python-plexapi
synced 2025-02-16 21:08:27 +00:00
rating should be a float, this slipped thru the cracks.
This commit is contained in:
parent
e2b1d08171
commit
5d60f69610
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class Movie(Video, Playable):
|
|||
self.originallyAvailableAt = utils.toDatetime(
|
||||
data.attrib.get('originallyAvailableAt'), '%Y-%m-%d')
|
||||
self.primaryExtraKey = data.attrib.get('primaryExtraKey')
|
||||
self.rating = data.attrib.get('rating')
|
||||
self.rating = utils.cast(float, data.attrib.get('rating'))
|
||||
self.ratingImage = data.attrib.get('ratingImage')
|
||||
self.studio = data.attrib.get('studio')
|
||||
self.tagline = data.attrib.get('tagline')
|
||||
|
|
Loading…
Add table
Reference in a new issue