Issue with windows paths solved.

This commit is contained in:
Javier Moreno
2018-11-14 00:01:02 +01:00
parent 27203c273e
commit 70757b4144
+3 -3
View File
@@ -43,7 +43,7 @@ def GetPackage(Dir):
break
return found_package_path
return found_package_path.replace("\\", "/")
def GetPackageList(Dir):
@@ -88,7 +88,7 @@ def GetInterfacePackageMsgs(package_path):
for file in files:
if file.endswith(".msg"):
full_path = os.path.join(root, file)
msg_list.append(full_path)
msg_list.append(full_path.replace("\\", "/"))
return msg_list
@@ -99,7 +99,7 @@ def GetInterfacePackageSrvs(package_path):
for file in files:
if file.endswith(".srv"):
full_path = os.path.join(root, file)
msg_list.append(full_path)
msg_list.append(full_path.replace("\\", "/"))
return msg_list