lib/scanner: Don't stop byte counter ticks before scan is done

This commit is contained in:
Jakob Borg
2017-01-03 15:03:18 +01:00
parent 79dd6918f2
commit 2ebd6ad77f
2 changed files with 4 additions and 3 deletions

View File

@@ -154,7 +154,7 @@ func (s *verboseService) formatEvent(ev events.Event) string {
if total > 0 {
pct = 100 * current / total
}
return fmt.Sprintf("Scanning folder %q, %d%% done (%.01f MB/s)", folder, pct, rate)
return fmt.Sprintf("Scanning folder %q, %d%% done (%.01f MiB/s)", folder, pct, rate)
case events.DevicePaused:
data := ev.Data.(map[string]string)