diff --git a/community/__init__.py b/community/__init__.py index 95d1338e..eb67ffe7 100644 --- a/community/__init__.py +++ b/community/__init__.py @@ -3,3 +3,5 @@ from __future__ import unicode_literals __version__ = '0.0.1' +from .routing import install_regex_converter +install_regex_converter() diff --git a/community/hooks.py b/community/hooks.py index 7669e2fe..bdc9e026 100644 --- a/community/hooks.py +++ b/community/hooks.py @@ -127,9 +127,6 @@ scheduler_events = { # # auto_cancel_exempted_doctypes = ["Auto Repeat"] -from .routing import install_regex_converter -install_regex_converter() - # Add all simple route rules here primary_rules = [ {"from_route": "/sketches", "to_route": "sketches"},