mirror of https://github.com/borgbackup/borg.git
fuse: remove unneeded safe_encode
fsencode will happen in _find_inode()
This commit is contained in:
parent
8b5372b54c
commit
34eb475463
|
@ -145,8 +145,7 @@ class FuseOperations(llfuse.Operations):
|
||||||
# This can happen if an archive was created with a command line like
|
# This can happen if an archive was created with a command line like
|
||||||
# $ borg create ... dir1/file dir1
|
# $ borg create ... dir1/file dir1
|
||||||
# In this case the code below will have created a default_dir inode for dir1 already.
|
# In this case the code below will have created a default_dir inode for dir1 already.
|
||||||
path = safe_encode(item.path)
|
inode = self._find_inode(item.path, prefix)
|
||||||
inode = self._find_inode(path, prefix)
|
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue