From 903288f464437ce12b216c18ab4e8b1e20bbea80 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Wed, 4 Jan 2023 18:06:02 -0500 Subject: [PATCH] [3] update rating check --- VERSION | 2 +- modules/operations.py | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index d3b96b46..8d4427cf 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.2-develop2 +1.18.2-develop3 diff --git a/modules/operations.py b/modules/operations.py index 27546e39..258e8382 100644 --- a/modules/operations.py +++ b/modules/operations.py @@ -290,9 +290,10 @@ class Operations: if found_rating is None: logger.info(f"No {display} Found") - elif str(current) != str(found_rating): - item.editField(item_attr, found_rating) - return f"\n{display} | {found_rating}" + else: + if f"{current:.1f}" != f"{found_rating:.1f}": + item.editField(item_attr, found_rating) + return f"\n{display} | {found_rating}" return "" if self.library.mass_audience_rating_update: