Fix variable name

pull/1168/head
YozoraXCII 2 years ago
parent d2df74eb13
commit a1a8455ffc

@ -257,7 +257,7 @@ class Operations:
elif mdb_item and attribute == "mdb": elif mdb_item and attribute == "mdb":
found_rating = mdb_item.score / 10 if mdb_item.score else None found_rating = mdb_item.score / 10 if mdb_item.score else None
elif mdb_item and attribute == "mdb_average": elif mdb_item and attribute == "mdb_average":
found_rating = mdb_item.average_score_rating / 10 if mdb_item.average_rating else None found_rating = mdb_item.average_score_rating / 10 if mdb_item.average_score_rating else None
elif mdb_item and attribute == "mdb_imdb": elif mdb_item and attribute == "mdb_imdb":
found_rating = mdb_item.imdb_rating if mdb_item.imdb_rating else None found_rating = mdb_item.imdb_rating if mdb_item.imdb_rating else None
elif mdb_item and attribute == "mdb_metacritic": elif mdb_item and attribute == "mdb_metacritic":

Loading…
Cancel
Save