Skip to content

Commit

Permalink
''.format -> f''
Browse files Browse the repository at this point in the history
  • Loading branch information
civerachb-cpr committed Sep 12, 2024
1 parent 5eb194c commit a328097
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions turtlebot4_setup/ros_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,10 @@ def install(self):
systemd_after='network-online.target')

turtlebot4_job.symlink = True
turtlebot4_job.add(package='turtlebot4_bringup',
filename='launch/{0}.launch.py'.format(
self.conf.get(SystemOptions.MODEL)))
turtlebot4_job.add(
package='turtlebot4_bringup',
filename=f'launch/{self.conf.get(SystemOptions.MODEL)}.launch.py'
)
turtlebot4_job.install()

if self.conf.get(DiscoveryOptions.ENABLED):
Expand Down

0 comments on commit a328097

Please sign in to comment.