don't do manual 404 in piston
[wolnelektury.git] / apps / catalogue / views.py
index d17c349..fd8a633 100644 (file)
@@ -302,8 +302,8 @@ def book_detail(request, slug):
         if not project:
             # temporary fallback
             project = u'CzytamySłuchając'
         if not project:
             # temporary fallback
             project = u'CzytamySłuchając'
-            
-        projects.add((project, meta.get('funded_by')))
+
+        projects.add((project, meta.get('funded_by', '')))
     projects = sorted(projects)
 
     form = forms.SearchForm()
     projects = sorted(projects)
 
     form = forms.SearchForm()