summaryrefslogtreecommitdiffstats
path: root/pyload/network/CookieJar.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-17 01:21:41 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-17 01:21:41 +0200
commit20226f8cc5889efbefa61209e1adf6184d42cd00 (patch)
tree8f01af2c23465432f83481b656ed8c2743cb872a /pyload/network/CookieJar.py
parentSpare code cosmetics (2) (diff)
downloadpyload-20226f8cc5889efbefa61209e1adf6184d42cd00.tar.xz
Spare code cosmetics (3)
Diffstat (limited to 'pyload/network/CookieJar.py')
-rw-r--r--pyload/network/CookieJar.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyload/network/CookieJar.py b/pyload/network/CookieJar.py
index 35d7fa6ef..a970a08e5 100644
--- a/pyload/network/CookieJar.py
+++ b/pyload/network/CookieJar.py
@@ -24,8 +24,8 @@ class CookieJar(Cookie.SimpleCookie):
def setCookie(self, domain, name, value, path="/", exp=None, secure="FALSE"):
self[name] = value
- self[name]["domain"] = domain
- self[name]["path"] = path
+ self[name]['domain'] = domain
+ self[name]['path'] = path
# Value of expires should be integer if possible
# otherwise the cookie won't be used
@@ -37,7 +37,7 @@ class CookieJar(Cookie.SimpleCookie):
except ValueError:
expires = exp
- self[name]["expires"] = expires
+ self[name]['expires'] = expires
if secure == "TRUE":
- self[name]["secure"] = secure
+ self[name]['secure'] = secure