rename register_hook to just hook, for consistency with the perl
[ikiwiki.git] / plugins / rst
index febc14e97186634a9603938657a524f7293af3f9..9e0fb2548866fb7f1b9c18d7e0b2e2c208dc20c6 100755 (executable)
@@ -34,5 +34,5 @@ def debug(s):
     sys.stderr.flush()
 
 proxy = IkiWikiProcedureProxy(__name__, debug_fn=None)
-proxy.register_hook('htmlize', rst2html)
+proxy.hook('htmlize', rst2html)
 proxy.run()