mirror of
https://github.com/rclone/rclone.git
synced 2025-01-22 06:09:21 +01:00
opendrive: fix finding directories in a case insensitive way #4830
This commit is contained in:
parent
92b9dabf3c
commit
b4217fabd3
@ -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 New Issue
Block a user