From: Fredrik Tolf Date: Fri, 7 Feb 2014 02:55:50 +0000 (+0100) Subject: python: Fixed typo. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=4364a29e8918a1019e21d7ccc6a5e6d837c73580;p=ashd.git python: Fixed typo. --- diff --git a/python/scgi-wsgi b/python/scgi-wsgi index 7b1e1f5..99e003c 100755 --- a/python/scgi-wsgi +++ b/python/scgi-wsgi @@ -121,9 +121,9 @@ class request(ashd.serve.wsgirequest): def flush(self): try: if not request.onjython(): - ret = self.bsk.send(str(self.buffer), socket.MSG_DONTWAIT) + ret = self.bsk.send(self.buffer, socket.MSG_DONTWAIT) else: - ret = self.bsk.send(self.buffer) + ret = self.bsk.send(str(self.buffer)) self.buffer[:ret] = "" except IOError: raise ashd.serve.closed()