From 919b6dacac69459c64239c3d48ccc435a18b049c Mon Sep 17 00:00:00 2001 From: Armin Date: Mon, 20 Apr 2015 22:24:43 +0200 Subject: Improve getClassName --- pyload/plugin/internal/XFSHoster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyload/plugin/internal/XFSHoster.py') 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 -- cgit v1.2.3