From cbb9120bde1c8ae88a3b3621467732f5d3c22b03 Mon Sep 17 00:00:00 2001 From: Lu Qiu Date: Fri, 5 Apr 2024 11:53:57 -0700 Subject: [PATCH] Modify --- alluxiofs/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alluxiofs/core.py b/alluxiofs/core.py index 9ef7ff5..f64ad1a 100644 --- a/alluxiofs/core.py +++ b/alluxiofs/core.py @@ -122,8 +122,8 @@ def __init__( def _strip_alluxio_protocol(path): def _strip_individual_path(p): - if p.startswith(self.protocol + ":"): - return p[len(self.protocol) + 1 :] + if p.startswith(self.protocol + "::"): + return p[len(self.protocol) + 2 :] return p if isinstance(path, str):