Commit 417b3dab authored by Michal Čihař's avatar Michal Čihař

Fix ETA calculation

parent 5f0297e1
......@@ -58,7 +58,7 @@ class Migration(DataMigration):
print 'Migrated %d of %d, ETA: %d min' % (
done,
total,
((time.time() - start) * total / done) / 60
((time.time() - start) * (total - done) / done) / 60
)
def backwards(self, orm):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment