summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-11-13 19:12:41 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-11-13 19:12:41 +0100
commit2fa8142c31003a62cce8bbf8535023a6926ffa16 (patch)
tree050828466ecb890059cffb0f78a6186c5de610a7 /module/network
parentmerge (diff)
downloadpyload-2fa8142c31003a62cce8bbf8535023a6926ffa16.tar.xz
bugfix
Diffstat (limited to 'module/network')
-rwxr-xr-xmodule/network/Request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/network/Request.py b/module/network/Request.py
index 985abe8e9..eb67da95d 100755
--- a/module/network/Request.py
+++ b/module/network/Request.py
@@ -84,7 +84,7 @@ class Request:
("Accept-Charset", "ISO-8859-1,utf-8;q=0.7,*;q=0.7")]
def set_timeout(self, timeout):
- self.timeout = timeout
+ self.timeout = int(timeout)
def init_curl(self):
self.rep = StringIO()