Skip to content

Commit

Permalink
Modify
Browse files Browse the repository at this point in the history
  • Loading branch information
LuQQiu committed Apr 5, 2024
1 parent 140d3aa commit cbb9120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alluxiofs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit cbb9120

Please sign in to comment.