summaryrefslogtreecommitdiffstats
path: root/module/network/HTTPBase.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-12-25 00:24:24 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2010-12-25 00:24:24 +0100
commit9b9b7d4fd75f88492ab407cc2ccbdc7df3054323 (patch)
tree538472b1970d75ddd97a5b9a4b76faa2ba91bc58 /module/network/HTTPBase.py
parentfixed reusing bad connection (diff)
downloadpyload-9b9b7d4fd75f88492ab407cc2ccbdc7df3054323.tar.xz
fixed weird issues, comments
Diffstat (limited to 'module/network/HTTPBase.py')
-rw-r--r--module/network/HTTPBase.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/network/HTTPBase.py b/module/network/HTTPBase.py
index 2737fd33c..7627c8499 100644
--- a/module/network/HTTPBase.py
+++ b/module/network/HTTPBase.py
@@ -333,8 +333,9 @@ class HTTPBase():
print "[HTTP] creating request"
print "[HTTP] URL:", url
print "[HTTP] GET"
- for key, value in get.iteritems():
- print "[HTTP] \t", key, ":", value
+ if get:
+ for key, value in get.iteritems():
+ print "[HTTP] \t", key, ":", value
if post:
print "[HTTP] POST"
for key, value in post.iteritems():