Skip to content

Commit 45054cb

Browse files
committed
remove file:// prefix if any
1 parent 7f1bcae commit 45054cb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

roboticstoolbox/tools/urdf/urdf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,9 @@ def filename(self, value):
303303
if value.startswith("package://"):
304304
value = value.replace("package://", "")
305305

306+
if value.startswith("file://"):
307+
value = value.replace("file://", "")
308+
306309
if _base_path is None:
307310
value = rtb_path_to_datafile("xacro", value)
308311
else:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy