diff options
Diffstat (limited to 'module/PluginManager.py')
-rw-r--r-- | module/PluginManager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/PluginManager.py b/module/PluginManager.py index a91acefe3..ad01eba1b 100644 --- a/module/PluginManager.py +++ b/module/PluginManager.py @@ -68,9 +68,9 @@ class PluginManager(): continue elif pluginName.endswith("_26") and not version_info[0:2] == (2, 6): continue - module = __import__(pluginModule, globals(), locals(), [pluginName], -1) - pluginClass = getattr(module, pluginName) try: + module = __import__(pluginModule, globals(), locals(), [pluginName], -1) + pluginClass = getattr(module, pluginName) self.logger.debug(_("%(type)s: %(name)s added") % {"name":pluginName, "type":ptype}) if create: pluginClass = pluginClass(self) |