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