diff options
author | 2014-11-14 01:53:24 +0100 | |
---|---|---|
committer | 2014-11-14 01:53:24 +0100 | |
commit | 0521acfc4e62096d8f78e6f5d1966835c7acbcef (patch) | |
tree | 825c12d1331698043e6e8d7090ee457b6a9b5796 /module/plugins/internal/SimpleCrypter.py | |
parent | [UlozTo] Fixed hoster and account (diff) | |
download | pyload-0521acfc4e62096d8f78e6f5d1966835c7acbcef.tar.xz |
[SimpleCrypter][SimpleHoster] Temp workaround
Diffstat (limited to 'module/plugins/internal/SimpleCrypter.py')
-rw-r--r-- | module/plugins/internal/SimpleCrypter.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/internal/SimpleCrypter.py b/module/plugins/internal/SimpleCrypter.py index 0e43496c4..01d1895a6 100644 --- a/module/plugins/internal/SimpleCrypter.py +++ b/module/plugins/internal/SimpleCrypter.py @@ -13,7 +13,7 @@ from module.utils import fixup, html_unescape class SimpleCrypter(Crypter): __name__ = "SimpleCrypter" __type__ = "crypter" - __version__ = "0.28" + __version__ = "0.29" __pattern__ = r'^unmatchable$' __config__ = [("use_subfolder", "bool", "Save package to subfolder", True), #: Overrides core.config['general']['folder_per_package'] @@ -96,8 +96,7 @@ class SimpleCrypter(Crypter): self.pyfile.url = replace_patterns(self.pyfile.url, self.URL_REPLACEMENTS) - if self.html is None: - self.html = self.load(self.pyfile.url, decode=not self.TEXT_ENCODING, cookies=bool(self.COOKIES)) + self.html = self.load(self.pyfile.url, decode=not self.TEXT_ENCODING, cookies=bool(self.COOKIES)) if isinstance(self.TEXT_ENCODING, basestring): self.html = unicode(self.html, self.TEXT_ENCODING) |