[78] fix wrong rating

pull/737/head
meisnate12 3 years ago
parent 35456115d3
commit 08b84c6ae8

@ -1 +1 @@
1.15.1-develop77 1.15.1-develop78

@ -550,7 +550,7 @@ def library_operations(config, library):
elif mdb_item and attribute == "mdb_trakt": elif mdb_item and attribute == "mdb_trakt":
return mdb_item.trakt_rating / 10 if mdb_item.trakt_rating else None return mdb_item.trakt_rating / 10 if mdb_item.trakt_rating else None
elif mdb_item and attribute == "mdb_tomatoes": elif mdb_item and attribute == "mdb_tomatoes":
return mdb_item.tmdb_rating / 10 if mdb_item.tomatoes_rating else None return mdb_item.tomatoes_rating / 10 if mdb_item.tomatoes_rating else None
elif mdb_item and attribute == "mdb_tomatoesaudience": elif mdb_item and attribute == "mdb_tomatoesaudience":
return mdb_item.tomatoesaudience_rating / 10 if mdb_item.tomatoesaudience_rating else None return mdb_item.tomatoesaudience_rating / 10 if mdb_item.tomatoesaudience_rating else None
elif mdb_item and attribute == "mdb_tmdb": elif mdb_item and attribute == "mdb_tmdb":

Loading…
Cancel
Save