From 3758f5e1dfccc70e4bb733e4e6a5932967bbf787 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 23 Oct 2015 04:32:27 +0200 Subject: Fix XFS plugins --- module/plugins/internal/XFSHoster.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'module/plugins/internal/XFSHoster.py') diff --git a/module/plugins/internal/XFSHoster.py b/module/plugins/internal/XFSHoster.py index f63ee8755..37afdbce0 100644 --- a/module/plugins/internal/XFSHoster.py +++ b/module/plugins/internal/XFSHoster.py @@ -12,7 +12,7 @@ from module.plugins.internal.utils import html_unescape, seconds_to_midnight, se class XFSHoster(SimpleHoster): __name__ = "XFSHoster" __type__ = "hoster" - __version__ = "0.69" + __version__ = "0.70" __status__ = "stable" __pattern__ = r'^unmatchable$' @@ -70,10 +70,8 @@ class XFSHoster(SimpleHoster): 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() -- cgit v1.2.3