summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/XFileSharingPro.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/XFileSharingPro.py')
-rw-r--r--module/plugins/hoster/XFileSharingPro.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/XFileSharingPro.py b/module/plugins/hoster/XFileSharingPro.py
index 860fd5309..2cbd42906 100644
--- a/module/plugins/hoster/XFileSharingPro.py
+++ b/module/plugins/hoster/XFileSharingPro.py
@@ -34,7 +34,7 @@ class XFileSharingPro(XFSHoster):
account = self.core.accountManager.getAccountPlugin(self.HOSTER_NAME)
- if account and account.canUse():
+ if account and account.can_use():
self.account = account
elif self.account:
@@ -43,9 +43,9 @@ class XFileSharingPro(XFSHoster):
else:
return
- self.user, data = self.account.selectAccount()
- self.req = self.account.getAccountRequest(self.user)
- self.premium = self.account.isPremium(self.user)
+ self.user, data = self.account.select_account()
+ self.req = self.account.get_account_request(self.user)
+ self.premium = self.account.is_premium(self.user)
def setup(self):