diff --git a/model-gym-ros-env/car_node/car_node/wrapper.py b/model-gym-ros-env/car_node/car_node/wrapper.py index befef1c7..c5b1f197 100644 --- a/model-gym-ros-env/car_node/car_node/wrapper.py +++ b/model-gym-ros-env/car_node/car_node/wrapper.py @@ -102,8 +102,7 @@ def start_position(self): x, y, t = map_utility.get_start_position(self.map_path) self.set_raceliens() return x, y, t - else: - raise Exception("Map path not set") + raise Exception("Map path not set") diff --git a/src/wrapper/wrapper.py b/src/wrapper/wrapper.py index 99f648b0..d8cae507 100644 --- a/src/wrapper/wrapper.py +++ b/src/wrapper/wrapper.py @@ -115,8 +115,7 @@ def start_position(self): x, y, t = map_utility.get_start_position(self.map_path) self.set_raceliens() return x, y, t - else: - raise Exception("Map path not set") + raise Exception("Map path not set")