From 7d9b6fca686e018a476155834b75be951a23fd3d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 26 Oct 2011 17:11:27 +0200 Subject: Correct urls.py --- papillon/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'papillon') 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('', -- cgit v1.2.3