diff --git a/web/tasks/vk_catalog.py b/web/tasks/vk_catalog.py index 5c7493e..5f70fee 100644 --- a/web/tasks/vk_catalog.py +++ b/web/tasks/vk_catalog.py @@ -105,9 +105,9 @@ def _sync_user(db, user_id: int, token: str, group_id: str) -> None: price_field = p.get("price") if isinstance(price_field, dict): price_raw = price_field.get("amount") - price = float(price_raw) / 100 if price_raw is not None else None + price = float(price_raw) if price_raw is not None else None else: - price = float(price_field) / 100 if price_field is not None else None + price = float(price_field) if price_field is not None else None thumb = None thumb_field = p.get("thumb_photo") if isinstance(thumb_field, dict):