diff --git a/rapyuta_io/clients/device.py b/rapyuta_io/clients/device.py index a008f13..74c17cb 100644 --- a/rapyuta_io/clients/device.py +++ b/rapyuta_io/clients/device.py @@ -605,7 +605,7 @@ def fetch_command_result(self, jid: str, deviceids: list, timeout: int, interval result = get_api_response_data(response) return result[deviceids[0]] sleep(wait_interval) - total_time_waited += wait_interval + time_elapsed += wait_interval raise TimeoutError(f"Command result not available after {timeout} seconds") def get_config_variables(self):