summaryrefslogtreecommitdiff
path: root/chimere/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/actions.py')
-rw-r--r--chimere/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/actions.py b/chimere/actions.py
index 5ed3070..e83d8c3 100644
--- a/chimere/actions.py
+++ b/chimere/actions.py
@@ -47,7 +47,7 @@ default_actions = [(Action('view', 'chimere:index', _('View')), []),
Action('edit-route', 'chimere:editroute', _('Add a new route'))),
),]
-if settings.CHIMERE_DIRECTORY:
+if hasattr(settings, 'CHIMERE_DIRECTORY') and settings.CHIMERE_DIRECTORY:
default_actions.append((Action('categories', 'chimere:category-directory',
_('Directory')), []))