Skip to content

Commit a4b5d49

Browse files
committed
fix
1 parent b6263c5 commit a4b5d49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

urdf2webots/importer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def convertUrdfContent(input, output=None, robotName=None, normal=False, boxColl
177177
sys.stderr.write('ROS not sourced, package "%s" will not be found.\n' % packageName)
178178
if os.path.split(directory)[1]:
179179
packagePath = os.path.split(directory)[0]
180-
packagePath = packagePath.replace("\\","/")
180+
packagePath = packagePath.replace("\\", "/")
181181
input = input.replace('package://' + packageName, packagePath + '/' + packageName)
182182
else:
183183
sys.stderr.write('Can\'t determine package root path.\n')

0 commit comments

Comments
 (0)