diff options
author | mkaay <mkaay@mkaay.de> | 2010-08-18 11:28:20 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-08-18 11:28:20 +0200 |
commit | 38e99b7f813536cd9cbfaa2a761ce439f9f2116f (patch) | |
tree | c9a0aefe17370659d138f4c0dd4c84d73c909ae5 /module/RequestFactory.py | |
parent | fixed SerienjunkiesOrg error on bad formated season pages (diff) | |
download | pyload-38e99b7f813536cd9cbfaa2a761ce439f9f2116f.tar.xz |
HotfileCom refactoring + premium support + prefetching, ShareonlineBiz prefetching fix
Diffstat (limited to 'module/RequestFactory.py')
-rw-r--r-- | module/RequestFactory.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/RequestFactory.py b/module/RequestFactory.py index 04d5d671a..3885cae19 100644 --- a/module/RequestFactory.py +++ b/module/RequestFactory.py @@ -80,7 +80,10 @@ class CookieJar(): return self.cookies.values() def parseCookie(self, name): - return self.cookies[name].split("\t")[6] + if cookies.has_key(name): + return self.cookies[name].split("\t")[6] + else: + return None def getCookie(self, name): return self.parseCookie(name) |