summaryrefslogtreecommitdiffstats
path: root/module/network/Request.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/network/Request.py')
-rwxr-xr-xmodule/network/Request.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/network/Request.py b/module/network/Request.py
index 9155185fd..dfe29e62d 100755
--- a/module/network/Request.py
+++ b/module/network/Request.py
@@ -125,6 +125,8 @@ class Request:
def load(self, url, get={}, post={}, ref=True, cookies=False, just_header=False):
+ url = str(url)
+
if post:
post = urllib.urlencode(post)
else:
@@ -244,6 +246,8 @@ class Request:
def download(self, url, file_name, get={}, post={}, ref=True, cookies=False):
+ url = str(url)
+
if post:
post = urllib.urlencode(post)
else: