Commit 78a30cb1 authored by Mirza Mohammed Baig's avatar Mirza Mohammed Baig

Removed the round value to average rating we sending raw value to DB

parent 4a85dbf2
......@@ -56,7 +56,7 @@ class FeatureUpdater:
print(f"{new_average_rating}+--------------------------$$$----------------")
features[feature]["average_rating"] = round(new_average_rating, 1)
features[feature]["average_rating"] = new_average_rating
features[feature]["review_count"] += 1
features[feature]["positive_count"] += new_positive
features[feature]["negative_count"] += new_negative
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment