From 0d7d3237256799968d8509392c0248216fe52ef4 Mon Sep 17 00:00:00 2001 From: Nikos Skalkotos Date: Wed, 16 Jan 2013 16:35:42 +0200 Subject: [PATCH] Fix a variable name typo in output/dialog.py --- image_creator/output/dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.10.4