fixed position of log output

This commit is contained in:
Daniel Sommer 2023-11-17 14:20:28 +01:00
parent 0db69e0879
commit 98321903d9

View file

@ -34,8 +34,8 @@ func Start() {
scaleTime = time.Since(scaleTimestamp) scaleTime = time.Since(scaleTimestamp)
} }
if sleepTime > 0 { if sleepTime > 0 {
time.Sleep(sleepTime)
loggo.Debug("sleeping for '" + strconv.FormatInt(sleepTime.Milliseconds(), 10) + "' ms") loggo.Debug("sleeping for '" + strconv.FormatInt(sleepTime.Milliseconds(), 10) + "' ms")
time.Sleep(sleepTime)
} }
if scaleImages { if scaleImages {
error := setBackgroundPiped(data) error := setBackgroundPiped(data)