From 2234a72b3ee67912623f0e60d9344222f5079280 Mon Sep 17 00:00:00 2001 From: oysand Date: Thu, 7 Nov 2024 12:24:16 +0100 Subject: [PATCH] Remove unused comma --- src/isar/state_machine/states/idle.py | 2 +- src/isar/state_machine/states/offline.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/isar/state_machine/states/idle.py b/src/isar/state_machine/states/idle.py index d6b24daf..39fe9837 100644 --- a/src/isar/state_machine/states/idle.py +++ b/src/isar/state_machine/states/idle.py @@ -71,7 +71,7 @@ def _run(self) -> None: time.sleep(self.state_machine.sleep_time) continue - except (RobotException,) as e: + except RobotException as e: self.logger.error( f"Failed to get robot status because: {e.error_description}" ) diff --git a/src/isar/state_machine/states/offline.py b/src/isar/state_machine/states/offline.py index 88aa39ff..68213115 100644 --- a/src/isar/state_machine/states/offline.py +++ b/src/isar/state_machine/states/offline.py @@ -48,7 +48,7 @@ def _run(self) -> None: time.sleep(self.state_machine.sleep_time) continue - except (RobotException,) as e: + except RobotException as e: self.logger.error( f"Failed to get robot status because: {e.error_description}" )