diff --git a/mopidy/local/commands.py b/mopidy/local/commands.py index 798c10f8..279fda13 100644 --- a/mopidy/local/commands.py +++ b/mopidy/local/commands.py @@ -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)