|
@@ -330,10 +330,9 @@ func (app *App) AutomateSection(title string) error {
|
330
|
330
|
}
|
331
|
331
|
|
332
|
332
|
if message != "" {
|
333
|
|
- fmt.Println(changedWikiText)
|
334
|
333
|
|
335
|
|
- //_, err := wiki.EditWikiPageSection(title, section.index, changedWikiText,
|
336
|
|
- // fmt.Sprintf("Calculate averages for week %d", weekNumber))
|
|
334
|
+ _, err := wiki.EditWikiPageSection(title, section.index, changedWikiText,
|
|
335
|
+ fmt.Sprintf("Calculate averages for week %d", weekNumber))
|
337
|
336
|
err = nil
|
338
|
337
|
if err != nil {
|
339
|
338
|
return err
|