Fix typo
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Kekskurse 2022-01-14 23:19:39 +01:00
parent f78cd5e614
commit cea9efd133
Signed by: kekskurse
GPG Key ID: 728ACCB59341E7E4
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ func runHttpServer() {
w.Write([]byte("Doing "+lastEvent.Name+" since "+lastEvent.EventTimestamp.Format(time.RFC3339)+"<br>"))
w.Write([]byte("<h3>Today</h3>"))
for tag, _ := range currentState {
i := currentState[tag][time.Now().Format("02.01.06")
i := currentState[tag][time.Now().Format("02.01.06")]
i = i / 60
s := strconv.FormatInt(i, 10)
line := tag+": "+s+"<br>"