diff --git a/src/flask_debugtoolbar/__init__.py b/src/flask_debugtoolbar/__init__.py index 95746ac..20f9ee2 100644 --- a/src/flask_debugtoolbar/__init__.py +++ b/src/flask_debugtoolbar/__init__.py @@ -196,7 +196,7 @@ def process_view(self, app, view_func, view_kwargs): def process_response(self, response): real_request = request._get_current_object() - if real_request not in self.debug_toolbars_var.get(): + if real_request not in self.debug_toolbars_var.get({}): return response # Intercept http redirect codes and display an html page with a