diff --git a/resources/lib/WriteKodiDB.py b/resources/lib/WriteKodiDB.py index 0983fed1..cba3a842 100644 --- a/resources/lib/WriteKodiDB.py +++ b/resources/lib/WriteKodiDB.py @@ -80,7 +80,7 @@ class WriteKodiDB(): self.getPropertyParamArray_Batched(KodiItem, "tag", MBitem.get("Tag"), params) if MBitem.get("CommunityRating") != None: - self.getPropertyParam_Batched(KodiItem, "rating", int(MBitem.get(CommunityRating))/10, params) + self.getPropertyParam_Batched(KodiItem, "rating", int(MBitem.get("CommunityRating"))/10, params) #self.getPropertyParam_Batched(KodiItem, "plot", MBitem.get("Overview"), params) self.getPropertyParam_Batched(KodiItem, "plotoutline", MBitem.get("ShortOverview"), params)