Quick follow up for mpaa

Incase other rating contain the NR. To avoid mix ups.
This commit is contained in:
angelblue05 2015-08-08 07:18:53 -05:00
parent fee8b958de
commit 7c4ea6ecea

View file

@ -354,7 +354,7 @@ class API():
def getMpaa(self, item): def getMpaa(self, item):
# Convert more complex cases # Convert more complex cases
mpaa = item.get('OfficialRating', "") mpaa = item.get('OfficialRating', "")
if "NR" in mpaa: if "NR" == mpaa:
# Kodi seems to not like NR, but will accept Rated Not Rated # Kodi seems to not like NR, but will accept Rated Not Rated
mpaa = "Rated Not Rated" mpaa = "Rated Not Rated"