diff options
author | 2015-07-23 18:53:06 +0200 | |
---|---|---|
committer | 2015-07-23 18:53:06 +0200 | |
commit | 4fc28dc09f9632eb4a15a1ef48778427f9dcae33 (patch) | |
tree | a58c9700f80598409856bac5fc9523c0bcd7d07f /module/plugins/internal/Hoster.py | |
parent | [Extractor] is_usable -> find (diff) | |
download | pyload-4fc28dc09f9632eb4a15a1ef48778427f9dcae33.tar.xz |
Code cosmetics
Diffstat (limited to 'module/plugins/internal/Hoster.py')
-rw-r--r-- | module/plugins/internal/Hoster.py | 4 |
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 |