From de07cd54a708f4287654f593ded35bcff368f9d0 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 8 Aug 2011 17:27:57 +0200 Subject: only one chunk for uploaded.to --- module/network/HTTPRequest.py | 1 + 1 file changed, 1 insertion(+) (limited to 'module/network/HTTPRequest.py') diff --git a/module/network/HTTPRequest.py b/module/network/HTTPRequest.py index fb89334c6..a966414ee 100644 --- a/module/network/HTTPRequest.py +++ b/module/network/HTTPRequest.py @@ -204,6 +204,7 @@ class HTTPRequest(): def getResponse(self): """ retrieve response from string io """ + if not self.rep: return None value = self.rep.getvalue() self.rep.close() self.rep = StringIO() -- cgit v1.2.3