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

@@ -577,4 +577,4 @@ def load(app):
app.handler.register(WOLogGzipController)
app.handler.register(WOLogMailController)
# register a hook (function) to run after arguments are parsed.
hook.register('post_argument_parsing', wo_log_hook)
app.hook.register('post_argument_parsing', wo_log_hook)