local: Fix remainder display in local scan

This commit is contained in:
Thomas Adamcik 2015-03-12 22:11:33 +01:00
parent 9a507e17df
commit 40c7225cb7

View File

@ -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)