Fixes issues related with #17
[django-pagination.git] / linaro_django_pagination / templatetags / pagination_tags.py
index 995edc3..45857f9 100644 (file)
@@ -329,9 +329,7 @@ def paginate(context, window=DEFAULT_WINDOW, margin=DEFAULT_MARGIN):
                 new_context['getvars'] = ''
         return new_context
     except (KeyError, AttributeError):
-        pass
-
-    return context
+        return {}
 
 
 register = Library()