summaryrefslogtreecommitdiffstats
path: root/module/PyFile.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/PyFile.py')
-rw-r--r--module/PyFile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/PyFile.py b/module/PyFile.py
index 931975305..0b5dc48be 100644
--- a/module/PyFile.py
+++ b/module/PyFile.py
@@ -89,7 +89,7 @@ class PyFile(object):
""" inits plugin instance """
if not self.plugin:
self.pluginmodule = self.m.core.pluginManager.getPlugin(self.pluginname)
- self.pluginclass = getattr(self.pluginmodule, self.pluginname)
+ self.pluginclass = getattr(self.pluginmodule, self.m.core.pluginManager.getPluginName(self.pluginname))
self.plugin = self.pluginclass(self)