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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Hoster.py b/module/plugins/internal/Hoster.py
index af3e80acf..ffd7c4ecc 100644
--- a/module/plugins/internal/Hoster.py
+++ b/module/plugins/internal/Hoster.py
@@ -83,7 +83,7 @@ class Hoster(Plugin):
self.ocr = None
#: Account handler instance, see :py:class:`Account`
- self.account = pyfile.m.core.accountManager.getAccountPlugin(self.__name__)
+ self.account = self.pyload.accountManager.getAccountPlugin(self.__name__)
#: Premium status
self.premium = False
@@ -107,7 +107,7 @@ class Hoster(Plugin):
#: Premium status
self.premium = self.account.is_premium(self.user)
else:
- self.req = pyfile.m.core.requestFactory.getRequest(self.__name__)
+ self.req = self.pyload.requestFactory.getRequest(self.__name__)
#: Associated pyfile instance, see `PyFile`
self.pyfile = pyfile