X-Git-Url: https://code.grnet.gr/git/snf-image-creator/blobdiff_plain/99f95b85b1afd94926553ea21b472311bbd3c66b..0d7d3237256799968d8509392c0248216fe52ef4:/image_creator/output/dialog.py diff --git a/image_creator/output/dialog.py b/image_creator/output/dialog.py index 28ca0b4..672387d 100644 --- a/image_creator/output/dialog.py +++ b/image_creator/output/dialog.py @@ -67,7 +67,7 @@ class GaugeOutput(Output): time.sleep(0.4) def warn(self, msg, new_line=True): - self.d.gauge_update(self.index, "%s Warning: %s" % (self.msg, msg), + self.d.gauge_update(self.percent, "%s Warning: %s" % (self.msg, msg), update_text=True) time.sleep(0.4)