fix for that update (conf.cj) problem mentioned by shiftzwei@gmail.com

This commit is contained in:
Miroslav Stampar 2010-04-09 10:16:15 +00:00
parent effc7dc41c
commit 63c70018ca
2 changed files with 2 additions and 2 deletions

View File

@ -223,7 +223,7 @@ def initTargetEnv():
if conf.multipleTargets:
if conf.cj:
conf.cj.clear()
conf.cj.clear()
conf.paramDict = {}
conf.parameters = {}

View File

@ -157,7 +157,7 @@ class Connect:
requestHeaders = "\n".join(["%s: %s" % (header, value) for header, value in req.header_items()])
if not conf.dropSetCookie:
if not conf.dropSetCookie and conf.cj:
for _, cookie in enumerate(conf.cj):
if not cookieStr:
cookieStr = "Cookie: "