actually skip bad/broken module files found
This commit is contained in:
parent
98c149859a
commit
b0786a1845
1 changed files with 1 additions and 0 deletions
|
@ -371,6 +371,7 @@ class PluginLoader:
|
|||
obj = getattr(self._module_cache[path], self.class_name)
|
||||
except AttributeError as e:
|
||||
display.warning("Skipping plugin (%s) as it seems to be invalid: %s" % (path, to_unicode(e)))
|
||||
continue
|
||||
|
||||
if self.base_class:
|
||||
# The import path is hardcoded and should be the right place,
|
||||
|
|
Loading…
Reference in a new issue