summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()