From 5ffeef450ceaef7dca2fe2c8572b5657ea1c03ec Mon Sep 17 00:00:00 2001 From: IceArmy Date: Mon, 17 Oct 2011 23:32:55 -0700 Subject: [PATCH] cookie.value() didn't really need to be a string, since QSettings will take a QVariant anyways. --- python/pyphantomjs/cookiejar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyphantomjs/cookiejar.py b/python/pyphantomjs/cookiejar.py index c5e353b1..3764df6e 100644 --- a/python/pyphantomjs/cookiejar.py +++ b/python/pyphantomjs/cookiejar.py @@ -33,7 +33,7 @@ class CookieJar(QNetworkCookieJar): settings.beginGroup(url.host()) for cookie in cookieList: - settings.setValue(str(cookie.name()), str(cookie.value())) + settings.setValue(str(cookie.name()), cookie.value()) settings.sync()