diff --git a/oxdjango/middleware.py b/oxdjango/middleware.py index 2988e0c..8c95b3e 100644 --- a/oxdjango/middleware.py +++ b/oxdjango/middleware.py @@ -8,6 +8,5 @@ class ExceptionMiddleware(object): def process_exception(self, request, exception): if isinstance(exception, HttpErrorJson): return render_to_json_response(exception.response) - else: - return None + return None