Commit 24f2418d authored by Amos Latteier's avatar Amos Latteier

Fixed RESPONSE.write again.

parent 4636bfa0
......@@ -367,8 +367,7 @@ class PCGIResponse(HTTPResponse):
if not self._wrote:
self.stdout.write(str(self))
self._wrote=1
else:
self.stdout.write(data)
self.stdout.write(data)
def _finish(self):
self.stdout.finish(self)
......
......@@ -367,8 +367,7 @@ class PCGIResponse(HTTPResponse):
if not self._wrote:
self.stdout.write(str(self))
self._wrote=1
else:
self.stdout.write(data)
self.stdout.write(data)
def _finish(self):
self.stdout.finish(self)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment