diff --git a/garmin.py b/garmin.py index d0114f4..627ec07 100644 --- a/garmin.py +++ b/garmin.py @@ -223,7 +223,7 @@ def edit_fit( dt = datetime.fromtimestamp(message.time_created / 1000.0) # type: ignore _logger.info(f'Activity timestamp is "{dt.isoformat()}"') print_message(f"Record: {i}", message) - if message.manufacturer == Manufacturer.DEVELOPMENT.value: + if message.manufacturer == Manufacturer.DEVELOPMENT.value or message.manufacturer == Manufacturer.ZWIFT.value: _logger.debug(" Modifying values") message.product = GarminProduct.EDGE_830.value message.manufacturer = Manufacturer.GARMIN.value @@ -237,7 +237,7 @@ def edit_fit( message.manufacturer == Manufacturer.DEVELOPMENT.value or message.manufacturer == 0 or message.manufacturer == Manufacturer.WAHOO_FITNESS.value - ): + ) or message.manufacturer == Manufacturer.ZWIFT.value: _logger.debug(" Modifying values") message.garmin_product = GarminProduct.EDGE_830.value message.product = GarminProduct.EDGE_830.value # type: ignore