admin: Don't do only standalone exercices when doing speedy sync
This commit is contained in:
parent
df08e1ec72
commit
122e919daf
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user