Skip to content

Commit

Permalink
#506 Fix code styling a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
KaoruNishikawa committed Mar 28, 2022
1 parent 734953e commit 63d9f49
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/controller/ROS_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ def wrapper(self, *args,**kwargs):
#rospy.logwarn("This node don't have authority...")
self.log.warn("This node don't have authority...")
print("current authority : ", self.auth)
raise NECSTAuthorityError(f"This node doesn't have authority. Current authority is at '{self.auth}'")
raise NECSTAuthorityError(
"This node doesn't have authority."
f"Current authority is at '{self.auth}'"
)
return ret
return wrapper

Expand Down

0 comments on commit 63d9f49

Please sign in to comment.