Skip to content

Commit 404eb50

Browse files
committed
1 parent ca2d089 commit 404eb50

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

DjangoPlugin/tracdjangoplugin/middlewares.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ def __init__(self, application):
1616
def __call__(self, environ, start_response):
1717
request_started.send(sender=self.__class__)
1818
try:
19-
for data in self.application(environ, start_response):
20-
yield data
19+
yield from self.application(environ, start_response)
2120
finally:
2221
request_finished.send(sender=self.__class__)

0 commit comments

Comments
 (0)