Browse Source

Enable average updates

Toni Fadjukoff 6 years ago
parent
commit
19cad836ee
1 changed files with 2 additions and 3 deletions
  1. 2 3
      bot.go

+ 2 - 3
bot.go View File

330
 			}
330
 			}
331
 
331
 
332
 			if message != "" {
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
 				err = nil
336
 				err = nil
338
 				if err != nil {
337
 				if err != nil {
339
 					return err
338
 					return err