summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/internal/XFSHoster.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/internal/XFSHoster.py')
-rw-r--r--pyload/plugin/internal/XFSHoster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/internal/XFSHoster.py b/pyload/plugin/internal/XFSHoster.py
index 7b8149bc3..ff8077f81 100644
--- a/pyload/plugin/internal/XFSHoster.py
+++ b/pyload/plugin/internal/XFSHoster.py
@@ -65,7 +65,7 @@ class XFSHoster(SimpleHoster):
if self.account:
account = self.account
else:
- account = self.pyfile.m.core.accountManager.getAccountPlugin(self.__class__.__name__)
+ account = self.pyfile.m.core.accountManager.getAccountPlugin(self.getClassName())
if account and hasattr(account, "HOSTER_DOMAIN") and account.HOSTER_DOMAIN:
self.HOSTER_DOMAIN = account.HOSTER_DOMAIN