From e8246525f3106c152d6d1436c6a3111e0334520f Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 15 Nov 2014 18:04:47 +0100 Subject: Fix cookie domain --- module/plugins/accounts/UlozTo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/accounts/UlozTo.py') diff --git a/module/plugins/accounts/UlozTo.py b/module/plugins/accounts/UlozTo.py index ea2562280..63adb6aa8 100644 --- a/module/plugins/accounts/UlozTo.py +++ b/module/plugins/accounts/UlozTo.py @@ -26,7 +26,7 @@ class UlozTo(Account): html = req.load("http://www.ulozto.net/", decode=True) - req.cj.setCookie(".ulozto.net", "ULOSESSID", self.phpsessid) + req.cj.setCookie("ulozto.net", "ULOSESSID", self.phpsessid) m = re.search(self.TRAFFIC_LEFT_PATTERN, html) trafficleft = int(float(m.group(1).replace(' ', '').replace(',', '.')) * 1000 * 1.048) if m else 0 -- cgit v1.2.3