diff options
Diffstat (limited to 'virtinst')
-rw-r--r-- | virtinst/_progresspriv.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/virtinst/_progresspriv.py b/virtinst/_progresspriv.py index 5a31a18c..a035c9c4 100644 --- a/virtinst/_progresspriv.py +++ b/virtinst/_progresspriv.py @@ -112,10 +112,10 @@ class BaseMeter: assert type(amount_read) is int now = time.time() + self.last_amount_read = amount_read + self.re.update(amount_read, now) if (not self.last_update_time or (now >= self.last_update_time + self.update_period)): - self.re.update(amount_read, now) - self.last_amount_read = amount_read self.last_update_time = now self._do_update(amount_read) |