diff --git a/installsystems/tools.py b/installsystems/tools.py index 88314ee5d1268c893637d5fda5a7b092a2b36bfd..9f4575d55c15b6a10fe14d9b1c0aad6595ef24b4 100644 --- a/installsystems/tools.py +++ b/installsystems/tools.py @@ -117,7 +117,7 @@ def abspath(path): return path elif ptype == "file": if path.startswith("file://"): - path = path[len("file://")] + path = path[len("file://"):] return os.path.abspath(path) else: return None