From: Nikos Skalkotos Date: Wed, 16 Jan 2013 14:35:42 +0000 (+0200) Subject: Fix a variable name typo in output/dialog.py X-Git-Tag: v0.2.1~3 X-Git-Url: https://code.grnet.gr/git/snf-image-creator/commitdiff_plain/0d7d3237256799968d8509392c0248216fe52ef4 Fix a variable name typo in 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)