diff --git a/admin/sync/full.go b/admin/sync/full.go index 837d19b0..b27c3b33 100644 --- a/admin/sync/full.go +++ b/admin/sync/full.go @@ -60,7 +60,7 @@ func SpeedySyncDeep(i Importer) (errs SyncReport) { DeepSyncProgress = 2 if i.Exists(StandaloneExercicesDirectory) { - themes = append([]*fic.Theme{}, &fic.Theme{Path: StandaloneExercicesDirectory}) + themes = append(themes, &fic.Theme{Path: StandaloneExercicesDirectory}) } var themeStep uint8 = uint8(250) / uint8(len(themes))