mirror of
https://github.com/rclone/rclone.git
synced 2025-07-13 10:45:33 +02:00
Fix stats print
This commit is contained in:
@ -119,7 +119,7 @@ func (s *StatsInfo) String() string {
|
|||||||
dtSeconds := dt.Seconds()
|
dtSeconds := dt.Seconds()
|
||||||
speed := 0.0
|
speed := 0.0
|
||||||
if dt > 0 {
|
if dt > 0 {
|
||||||
speed = float64(s.bytes) / 1024 / dtSeconds
|
speed = float64(s.bytes) / dtSeconds
|
||||||
}
|
}
|
||||||
dtRounded := dt - (dt % (time.Second / 10))
|
dtRounded := dt - (dt % (time.Second / 10))
|
||||||
buf := &bytes.Buffer{}
|
buf := &bytes.Buffer{}
|
||||||
|
Reference in New Issue
Block a user