diff options
Diffstat (limited to 'chimere/route.py')
| -rw-r--r-- | chimere/route.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chimere/route.py b/chimere/route.py index eaa762a..8c4638a 100644 --- a/chimere/route.py +++ b/chimere/route.py @@ -115,6 +115,7 @@ class RoutinoRouter(Router): return lbl router = None -if settings.CHIMERE_ROUTING_ENGINE['ENGINE'] == 'routino': +if hasattr(settings, 'CHIMERE_ROUTING_ENGINE') and \ + settings.CHIMERE_ROUTING_ENGINE['ENGINE'] == 'routino': router = RoutinoRouter() |
