diff --git a/plugin_utils/helpers.py b/plugin_utils/helpers.py index 325ce3a..b7f9940 100644 --- a/plugin_utils/helpers.py +++ b/plugin_utils/helpers.py @@ -26,7 +26,7 @@ def get_scale_factor(units: str, dataStorage) -> float: scale_to_meter = get_scale_factor_to_meter(units) if dataStorage is not None: scale_back = scale_to_meter / get_scale_factor_to_meter( - dataStorage.currentUnits.value + dataStorage.currentUnits ) return scale_back else: