Skip to content

Commit ac02a69

Browse files
authored
Remove comment for clarity in middleware call method (#2283)
1 parent 0136ff9 commit ac02a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debug_toolbar/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ def __init__(self, get_response: GetResponse):
126126
markcoroutinefunction(self)
127127

128128
def __call__(self, request: HttpRequest) -> HttpResponse:
129-
# Decide whether the toolbar is active for this request.
130129
if self.async_mode:
131130
return self.__acall__(request)
131+
132132
# Decide whether the toolbar is active for this request.
133133
show_toolbar = get_show_toolbar(async_mode=self.async_mode)
134134

0 commit comments

Comments
 (0)