--- a/controls/DebugVariablePanel.py Thu Dec 06 16:10:26 2012 +0100
+++ b/controls/DebugVariablePanel.py Thu Dec 06 16:19:06 2012 +0100
@@ -97,8 +97,8 @@
def NewValue(self, tick, value, forced=False):
if self.IsNumVariable():
- value = {True:1., False:0.}.get(value, float(value))
- self.Data = numpy.append(self.Data, [[float(tick), value]], axis=0)
+ num_value = {True:1., False:0.}.get(value, float(value))
+ self.Data = numpy.append(self.Data, [[float(tick), num_value]], axis=0)
self.Parent.HasNewData = True
DebugDataConsumer.NewValue(self, tick, value, forced)