传递布尔值作为自定义参数

时间:2019-08-15 09:43:18

标签: inno-setup pascal

我目前正在尝试从自定义参数传递 for item in COOKIES.split(';'): name,value = item.split('=',1) name=name.replace(' ','').replace('\r','').replace('\n','') value = value.replace(' ','').replace('\r','').replace('\n','') cookie_dict={ 'name':name, 'value':value, "domain": "", # google chrome "expires": "", 'path': '/', 'httpOnly': False, 'HostOnly': False, 'Secure': False } self.driver_.add_cookie(cookie_dict) ,但是我无法弄清类型不匹配的原因,并且不确定如何解决该问题:

boolean

WindowsAuthentication := ExpandConstant('{param:WinAuth|False}'); 是一个WindowsAuthentication变量,像这样传递参数boolean

WinAuth

谢谢。

0 个答案:

没有答案