admin: Don't do only standalone exercices when doing speedy sync

This commit is contained in:
nemunaire 2024-03-24 20:01:09 +01:00
parent df08e1ec72
commit 122e919daf
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ func SpeedySyncDeep(i Importer) (errs SyncReport) {
DeepSyncProgress = 2 DeepSyncProgress = 2
if i.Exists(StandaloneExercicesDirectory) { 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)) var themeStep uint8 = uint8(250) / uint8(len(themes))