diff options
author | mkaay <mkaay@mkaay.de> | 2010-12-25 00:24:24 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-12-25 00:24:24 +0100 |
commit | 9b9b7d4fd75f88492ab407cc2ccbdc7df3054323 (patch) | |
tree | 538472b1970d75ddd97a5b9a4b76faa2ba91bc58 /module/network/HTTPBase.py | |
parent | fixed reusing bad connection (diff) | |
download | pyload-9b9b7d4fd75f88492ab407cc2ccbdc7df3054323.tar.xz |
fixed weird issues, comments
Diffstat (limited to 'module/network/HTTPBase.py')
-rw-r--r-- | module/network/HTTPBase.py | 5 |
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(): |