forked from TrueCloudLab/rclone
opendrive: fix finding directories in a case insensitive way #4830
This commit is contained in:
parent
92b9dabf3c
commit
b4217fabd3
1 changed files with 1 additions and 1 deletions
|
@ -721,7 +721,7 @@ func (f *Fs) FindLeaf(ctx context.Context, pathID, leaf string) (pathIDOut strin
|
|||
for _, folder := range folderList.Folders {
|
||||
// fs.Debugf(nil, "Folder: %s (%s)", folder.Name, folder.FolderID)
|
||||
|
||||
if leaf == folder.Name {
|
||||
if strings.EqualFold(leaf, folder.Name) {
|
||||
// found
|
||||
return folder.FolderID, true, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue