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

@ -36,8 +36,8 @@ class CallbackModule(CallbackBase):
CALLBACK_NAME = 'tree'
CALLBACK_NEEDS_WHITELIST = True
def __init__(self, display):
super(CallbackModule, self).__init__(display)
def __init__(self):
super(CallbackModule, self).__init__()
self.tree = TREE_DIR
if not self.tree: