fix: cli, print temperatures

This commit is contained in:
Markus Pesch 2019-03-06 20:17:28 +01:00
parent 3d54401011
commit 807a5b80ff
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 4 additions and 3 deletions

View File

@ -7,5 +7,5 @@ go-build-arm7:
GOOS=linux GOARCH=arm GOARM=7 go build -o flucky -ldflags "-X main.version=${VERSION}"
pi-copy: go-build-arm7
scp flucky hades:/usr/local/bin
ssh hades 'chmod +x /usr/local/bin/flucky'
scp flucky poseidon:/usr/local/bin
ssh poseidon 'chmod +x /usr/local/bin/flucky'

View File

@ -155,8 +155,9 @@ func PrintTemperatures(temperatures []*types.Temperature, cnf *config.FluckyConf
} else {
fmt.Fprint(tw, "\t")
}
fmt.Fprint(tw, "\n")
}
fmt.Fprint(tw, "\n")
}
tw.Flush()
}