nicer social auth
[wolnelektury.git] / apps / search / views.py
index 2d8838c..527ca82 100644 (file)
@@ -77,7 +77,7 @@ def hint(request):
     def category_name(c):
         if c.startswith('pd_'):
             c=c[len('pd_'):]
-            return _(c)
+        return _(c)
 
     return JSONResponse(
         [{'label': t.name,