model: Actually print folder description in "Overriding" log message

This commit is contained in:
Jakob Borg 2020-12-12 12:32:24 +01:00
parent 5565afdd9f
commit 4142a431b5

View File

@ -92,7 +92,7 @@ func (f *sendOnlyFolder) Override() {
}
func (f *sendOnlyFolder) override() {
l.Infof("Overriding global state on folder %v", f.Description)
l.Infoln("Overriding global state on folder", f.Description())
f.setState(FolderScanning)
defer f.setState(FolderIdle)