summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/XFSPHoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-22 02:06:31 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-22 02:06:31 +0200
commitb409e7782d48830489f47cc2364b4728d98f363a (patch)
treedbd14d94e93091d11e61cc450e5811ee505032a2 /module/plugins/internal/XFSPHoster.py
parent[SimpleCrypter] Fix missing TEXT_ENCODING routine (diff)
downloadpyload-b409e7782d48830489f47cc2364b4728d98f363a.tar.xz
Improve COOKIES parsing
Diffstat (limited to 'module/plugins/internal/XFSPHoster.py')
-rw-r--r--module/plugins/internal/XFSPHoster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/XFSPHoster.py b/module/plugins/internal/XFSPHoster.py
index 14c8302e1..5d75e41a7 100644
--- a/module/plugins/internal/XFSPHoster.py
+++ b/module/plugins/internal/XFSPHoster.py
@@ -76,7 +76,7 @@ class XFSPHoster(SimpleHoster):
self.passwords = self.getPassword().splitlines()
url = self.pyfile.url = replace_patterns(self.pyfile.url, self.FILE_URL_REPLACEMENTS)
- self.html = getURL(url, decode=not self.TEXT_ENCODING, cookies=self.COOKIES)
+ self.html = getURL(url, decode=not self.TEXT_ENCODING, cookies=bool(self.COOKIES))
def process(self, pyfile):