Remove deprecated hook.register

This commit is contained in:
VirtuBox
2019-09-24 00:04:32 +02:00
parent 547b356a76
commit baada0473e
11 changed files with 11 additions and 11 deletions

View File

@@ -849,4 +849,4 @@ def load(app):
# register the plugin class.. this only happens if the plugin is enabled
app.handler.register(WODebugController)
# register a hook (function) to run after arguments are parsed.
hook.register('post_argument_parsing', wo_debug_hook)
app.hook.register('post_argument_parsing', wo_debug_hook)