summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2010-01-15 15:03:00 +0100
committerGravatar spoob <spoob@gmx.de> 2010-01-15 15:03:00 +0100
commit2edf36eb45d427262e9f83af90b8b4fc2f69aab8 (patch)
tree5cadf5d76f3784512973244194b19fbade2c1a4b /module/network
parentmerge + fix (diff)
downloadpyload-2edf36eb45d427262e9f83af90b8b4fc2f69aab8.tar.xz
Better Argument Parsing in Core, littel fixes
Diffstat (limited to 'module/network')
-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: