forked from TrueCloudLab/rclone
drive: Fix path parsing
This commit is contained in:
parent
b0064e6405
commit
bc221fb27e
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ func (f *FsDrive) String() string {
|
||||||
|
|
||||||
// parseParse parses a drive 'url'
|
// parseParse parses a drive 'url'
|
||||||
func parseDrivePath(path string) (root string, err error) {
|
func parseDrivePath(path string) (root string, err error) {
|
||||||
root = strings.Trim(root, "/")
|
root = strings.Trim(path, "/")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue