Skip to content

Commit

Permalink
Avoid unbound Name Error
Browse files Browse the repository at this point in the history
  • Loading branch information
Daraan committed Oct 28, 2024
1 parent 777747e commit aeeae56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions srunner/scenariomanager/scenarioatomics/atomic_behaviors.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,8 @@ def terminate(self, new_status):
final_speed = master_speed * self._final_speed
else:
print("'relative_type' must be delta or factor")
self._final_speed_set = True
return super().terminate(new_status)
else:
final_speed = self._final_speed

Expand Down

0 comments on commit aeeae56

Please sign in to comment.