summaryrefslogtreecommitdiff
path: root/papillon/urls.py
diff options
context:
space:
mode:
authorÉtienne Loks2011-10-26 17:11:27 +0200
committerÉtienne Loks2011-10-26 17:11:27 +0200
commit7d9b6fca686e018a476155834b75be951a23fd3d (patch)
tree0d8cdb9f810857b9d28a3b719d3e2d9fc5668eaf /papillon/urls.py
parent58a66e44e2f23704c1f7ee6819bd5e40cac18c0f (diff)
Correct urls.py
Diffstat (limited to 'papillon/urls.py')
-rw-r--r--papillon/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/papillon/urls.py b/papillon/urls.py
index 30f95be..862f66a 100644
--- a/papillon/urls.py
+++ b/papillon/urls.py
@@ -30,7 +30,7 @@ feeds = {
}
base = '^' + settings.EXTRA_URL
-if not base.endswith('/'):
+if settings.EXTRA_URL and not base.endswith('/'):
base += '/'
urlpatterns = patterns('',