Make sure we find the .py file when looking for a module to compare docs with
This commit is contained in:
parent
87808797ea
commit
cd88cb753c
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ class ModuleValidator(Validator):
|
|||
if self._is_new_module():
|
||||
return
|
||||
|
||||
existing = module_loader.find_plugin(self.name)
|
||||
existing = module_loader.find_plugin(self.name, mod_type='.py')
|
||||
existing_doc, _, _ = get_docstring(existing, verbose=True)
|
||||
existing_options = existing_doc.get('options', {})
|
||||
|
||||
|
|
Loading…
Reference in a new issue