summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/NoPremiumPl.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/NoPremiumPl.py')
-rw-r--r--pyload/plugin/hoster/NoPremiumPl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/hoster/NoPremiumPl.py b/pyload/plugin/hoster/NoPremiumPl.py
index 8921afe1c..be1e4794e 100644
--- a/pyload/plugin/hoster/NoPremiumPl.py
+++ b/pyload/plugin/hoster/NoPremiumPl.py
@@ -79,7 +79,7 @@ class NoPremiumPl(MultiHoster):
if "errno" in parsed.keys():
if parsed['errno'] in self.ERROR_CODES:
# error code in known
- self.fail(self.ERROR_CODES[parsed['errno']] % self.__class__.__name__)
+ self.fail(self.ERROR_CODES[parsed['errno']] % self.getClassName())
else:
# error code isn't yet added to plugin
self.fail(