Commit 10e5c2b4 by Brian Coca

fixed var scope

parent 080ee1e9
......@@ -12,13 +12,11 @@ class CallbackModule(CallbackBase):
CALLBACK_TYPE = 'aggregate'
CALLBACK_NAME = 'timer'
start_time = datetime.now()
def __init__(self, display):
super(CallbackModule, self).__init__(display)
start_time = datetime.now()
self.start_time = datetime.now()
def days_hours_minutes_seconds(self, timedelta):
minutes = (timedelta.seconds//60)%60
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment