fixed signature for init on callbacks

also removed passing display to base class which already handles this
This commit is contained in:
Brian Coca 2015-12-01 13:28:16 -08:00
parent e1bcb43e76
commit 3e01516783
7 changed files with 14 additions and 14 deletions

View file

@ -71,11 +71,11 @@ class CallbackModule(CallbackBase):
CALLBACK_NAME = 'profile_tasks'
CALLBACK_NEEDS_WHITELIST = True
def __init__(self, display):
def __init__(self):
self.stats = {}
self.current = None
super(CallbackModule, self).__init__(display)
super(CallbackModule, self).__init__()
def _record_task(self, name):
"""