From 3a57af14525a37fc3d638a603161ccec5bea64fb Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 30 Aug 2013 15:26:03 +0200 Subject: [PATCH] Minor fix --- lib/request/connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/request/connect.py b/lib/request/connect.py index f89ace0fb..337546af8 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -783,7 +783,7 @@ class Connect(object): cookie = re.sub("((\A|\W)%s=)([^%s]+)" % (name, conf.cDel or DEFAULT_COOKIE_DELIMITER), "\g<1>%s" % value, cookie) elif post is not None: post += "%s%s=%s" % (delimiter, name, value) - else: + elif get is not None: get += "%s%s=%s" % (delimiter, name, value) if not conf.skipUrlEncode: