python: Fixed SCGI handler typo.
[ashd.git] / python / ashd / scgi.py
index 0bc7a57..4583fa7 100644 (file)
@@ -117,7 +117,7 @@ def wrapwsgi(handler):
             for data in respiter:
                 write(data)
             if resp:
-                flushresp()
+                flushreq()
         finally:
             if hasattr(respiter, "close"):
                 respiter.close()