Due to last commit, changes modules to follow new hooks declaration
This commit is contained in:
parent
a2d9757d06
commit
89206d9a91
5 changed files with 27 additions and 31 deletions
|
|
@ -14,8 +14,8 @@ def load(context):
|
|||
CONTEXT = context
|
||||
|
||||
from hooks import Hook
|
||||
context.hooks.add_hook(context.hooks.cmd_hook, Hook(cmd_set, "set"))
|
||||
context.hooks.add_hook(context.hooks.all_pre, Hook(treat_variables))
|
||||
context.hooks.add_hook("cmd_hook", Hook(cmd_set, "set"))
|
||||
context.hooks.add_hook("all_pre", Hook(treat_variables))
|
||||
|
||||
global DATAS
|
||||
if not DATAS.hasNode("aliases"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue