diff --git a/gui/pygauge.py b/gui/pygauge.py index fdb786507..063560ac0 100644 --- a/gui/pygauge.py +++ b/gui/pygauge.py @@ -51,6 +51,7 @@ Version 0.1 import wx import copy +import time class PyGauge(wx.PyWindow): """ @@ -225,7 +226,7 @@ class PyGauge(wx.PyWindow): print "Timer created: %d" % self._timerId self._animStep = 0 self._timer.Start(self._animStep) - print "Timer started: %d" % self._timerId + print "Timer started: %d - %f" % (self._timerId, time.time()) for v in self._value: if v < 0 or v > self._range: raise Exception("ERROR:\n Gauge value must be between 0 and it's range. ") @@ -354,7 +355,7 @@ class PyGauge(wx.PyWindow): if stop_timer: self._timer.Stop() - print "Timer stopped: %d" % self._timerId + print "Timer stopped: %d - %f" % (self._timerId, time.time()) self._timerOn=0 self.SortForDisplay()