mirror of https://github.com/vitalif/phantomjs
Fix bug in CookieJar where QSettings expected str, but got QByteArray instead (#10)
parent
11a5e95281
commit
b6e69b5015
|
@ -33,7 +33,7 @@ class CookieJar(QNetworkCookieJar):
|
|||
settings.beginGroup(url.host())
|
||||
|
||||
for cookie in cookieList:
|
||||
settings.setValue(cookie.name(), cookie.value())
|
||||
settings.setValue(str(cookie.name()), str(cookie.value()))
|
||||
|
||||
settings.sync()
|
||||
|
||||
|
|
Loading…
Reference in New Issue