diff --git a/admin/sync/exercice_keys.go b/admin/sync/exercice_keys.go index a5a3bae4..b4229331 100644 --- a/admin/sync/exercice_keys.go +++ b/admin/sync/exercice_keys.go @@ -119,7 +119,7 @@ func SyncExerciceFlags(i Importer, exercice fic.Exercice) (errs []string) { // Import dependency to flag for _, nf := range flag.NeedFlag { if rf, ok := kmap[nf.Id]; !ok { - errs = append(errs, fmt.Sprintf("%q: error flag #%d dependency to flag id=%s: id not defined, perhaps not available at time of processing", path.Base(exercice.Path), nline + 1, nf.Id)) + errs = append(errs, fmt.Sprintf("%q: error flag #%d dependency to flag id=%d: id not defined, perhaps not available at time of processing", path.Base(exercice.Path), nline + 1, nf.Id)) continue } else if err := k.AddDepend(rf); err != nil { errs = append(errs, fmt.Sprintf("%q: error flag #%d dependency to %s: %s", path.Base(exercice.Path), nline + 1, nf.Id, err))