diff --git a/backend/jottacloud/jottacloud.go b/backend/jottacloud/jottacloud.go index 1c6ced368..dc4fc2b5f 100644 --- a/backend/jottacloud/jottacloud.go +++ b/backend/jottacloud/jottacloud.go @@ -727,6 +727,9 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, e // Renew the token in the background f.tokenRenewer = oauthutil.NewRenew(f.String(), ts, func() error { _, err := f.readMetaDataForPath(ctx, "") + if err == fs.ErrorNotAFile { + err = nil + } return err })