[50] fix mdb_commonsense0

This commit is contained in:
meisnate12 2022-09-23 13:28:26 -04:00
parent 2809ebf14d
commit e693d9b0fb
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
1.17.3-develop49
1.17.3-develop50

View file

@ -340,7 +340,7 @@ class Operations:
elif mdb_item and self.library.mass_content_rating_update == "mdb_commonsense":
new_rating = mdb_item.commonsense if mdb_item.commonsense else None
elif mdb_item and self.library.mass_content_rating_update == "mdb_commonsense0":
new_rating = f"{mdb_item.commonsense:02}" if mdb_item.commonsense else None
new_rating = str(mdb_item.commonsense).rjust(2, "0") if mdb_item.commonsense else None
elif mal_item and self.library.mass_content_rating_update == "mal":
new_rating = mal_item.rating
else: