diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-23 04:32:27 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-23 04:32:27 +0200 |
commit | 3758f5e1dfccc70e4bb733e4e6a5932967bbf787 (patch) | |
tree | ec63a2793dcb45f0ab99332c0155572e3c62e129 /module/plugins/internal/XFSCrypter.py | |
parent | [SimpleCrypter] check_errors (diff) | |
download | pyload-3758f5e1dfccc70e4bb733e4e6a5932967bbf787.tar.xz |
Fix XFS plugins
Diffstat (limited to 'module/plugins/internal/XFSCrypter.py')
-rw-r--r-- | module/plugins/internal/XFSCrypter.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/module/plugins/internal/XFSCrypter.py b/module/plugins/internal/XFSCrypter.py index 13757fa1f..09511097b 100644 --- a/module/plugins/internal/XFSCrypter.py +++ b/module/plugins/internal/XFSCrypter.py @@ -7,7 +7,7 @@ from module.plugins.internal.utils import set_cookie class XFSCrypter(SimpleCrypter): __name__ = "XFSCrypter" __type__ = "crypter" - __version__ = "0.21" + __version__ = "0.22" __status__ = "stable" __pattern__ = r'^unmatchable$' @@ -41,10 +41,8 @@ class XFSCrypter(SimpleCrypter): def prepare(self): - if not self.PLUGIN_DOMAIN and self.account and self.account.PLUGIN_DOMAIN: - self.PLUGIN_DOMAIN = self.account.PLUGIN_DOMAIN - else: - self.fail(_("Missing PLUGIN_DOMAIN")) + if not self.PLUGIN_DOMAIN: + self.fail(_("Missing PLUGIN DOMAIN")) if self.COOKIES: self._set_xfs_cookie() |