1
0
mirror of https://github.com/rclone/rclone.git synced 2025-07-11 01:35:24 +02:00

onedrive: fix new fields not saved when editing old config - fixes

This commit is contained in:
Alex Chen
2018-09-07 00:07:16 +08:00
committed by GitHub
parent c6f1c3c7f6
commit 692ad482dc

@ -201,8 +201,9 @@ func init() {
log.Fatalf("Cancelled by user") log.Fatalf("Cancelled by user")
} }
config.FileSet(name, configDriveID, finalDriveID) m.Set(configDriveID, finalDriveID)
config.FileSet(name, configDriveType, rootItem.ParentReference.DriveType) m.Set(configDriveType, rootItem.ParentReference.DriveType)
config.SaveConfig()
}, },
Options: []fs.Option{{ Options: []fs.Option{{
Name: config.ConfigClientID, Name: config.ConfigClientID,