From 9b9b7d4fd75f88492ab407cc2ccbdc7df3054323 Mon Sep 17 00:00:00 2001 From: mkaay Date: Sat, 25 Dec 2010 00:24:24 +0100 Subject: fixed weird issues, comments --- module/network/HTTPBase.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'module/network/HTTPBase.py') 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(): -- cgit v1.2.3