local: Fix remainder display in local scan
This commit is contained in:
parent
9a507e17df
commit
40c7225cb7
@ -177,6 +177,6 @@ class _Progress(object):
|
||||
logger.info('Scanned %d of %d files in %ds.',
|
||||
self.count, self.total, duration)
|
||||
else:
|
||||
remainder = duration // self.count * (self.total - self.count)
|
||||
remainder = duration / self.count * (self.total - self.count)
|
||||
logger.info('Scanned %d of %d files in %ds, ~%ds left.',
|
||||
self.count, self.total, duration, remainder)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user