summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Hoster.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/Hoster.py')
-rw-r--r--module/plugins/internal/Hoster.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/internal/Hoster.py b/module/plugins/internal/Hoster.py
index 0d2e4dcc4..1d2728bd3 100644
--- a/module/plugins/internal/Hoster.py
+++ b/module/plugins/internal/Hoster.py
@@ -96,10 +96,10 @@ class Hoster(Plugin):
self.account = None
if self.account:
- self.user, data = self.account.select_account()
+ self.user, data = self.account.select()
#: Browser instance, see `network.Browser`
- self.req = self.account.get_account_request(self.user)
+ self.req = self.account.get_request(self.user)
self.chunk_limit = -1 #: Chunk limit, -1 for unlimited
#: Enables resume (will be ignored if server dont accept chunks)
@@ -593,7 +593,7 @@ class Hoster(Plugin):
if not self.account:
return True
- traffic = self.account.get_account_info(self.user, True)['trafficleft']
+ traffic = self.account.get_data(self.user, True)['trafficleft']
if traffic is None:
return False
@@ -612,7 +612,7 @@ class Hoster(Plugin):
return self.pyfile.package().password or ""
- #: Deprecated method, use `check_for_same_files` instead
+ #: Deprecated method, use `check_for_same_files` instead (Remove in 0.4.10)
def checkForSameFiles(self, *args, **kwargs):
return self.check_for_same_files(*args, **kwargs)