diff options
Diffstat (limited to 'module/plugins/hoster/XFileSharing.py')
-rw-r--r-- | module/plugins/hoster/XFileSharing.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/module/plugins/hoster/XFileSharing.py b/module/plugins/hoster/XFileSharing.py index e0556789a..d225e73a2 100644 --- a/module/plugins/hoster/XFileSharing.py +++ b/module/plugins/hoster/XFileSharing.py @@ -2,13 +2,13 @@ import re -from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo +from module.plugins.internal.XFSHoster import XFSHoster class XFileSharing(XFSHoster): __name__ = "XFileSharing" __type__ = "hoster" - __version__ = "0.63" + __version__ = "0.64" __status__ = "testing" __pattern__ = r'^unmatchable$' @@ -48,7 +48,7 @@ class XFileSharing(XFSHoster): def setup_base(self): if self.account: self.req = self.pyload.requestFactory.getRequest(self.PLUGIN_NAME, self.account.user) - self.premium = self.account.info['data']['premium'] #@NOTE: Avoid one unnecessary get_info call by `self.account.premium` here + self.premium = self.account.info['data']['premium'] #@NOTE: Don't call get_info here to reduce overhead else: self.req = self.pyload.requestFactory.getRequest(self.classname) self.premium = False @@ -62,6 +62,3 @@ class XFileSharing(XFSHoster): self.__class__.__name__ = str(self.PLUGIN_NAME) super(XFileSharing, self).load_account() self.__class__.__name__ = class_name - - -getInfo = create_getInfo(XFileSharing) |