diff --git a/src/preprocess.py b/src/preprocess.py index 41562ed..91d71ef 100644 --- a/src/preprocess.py +++ b/src/preprocess.py @@ -63,7 +63,7 @@ class DbOp(object): 'unit': res[2] } logger.debug(f"{variable=}") - return application + return variable except Exception as e: logger.error(f"Error getting variable: {e}") raise VariableNotFoundException(appId, converterId, deviceId, variableId)