diff --git a/InvenTree/plugin/template.py b/InvenTree/plugin/template.py index 0f580a8023..53ee7bb6db 100644 --- a/InvenTree/plugin/template.py +++ b/InvenTree/plugin/template.py @@ -35,7 +35,7 @@ class PluginTemplateLoader(FilesystemLoader): for plugin in registry.plugins.values(): new_path = Path(plugin.path) / dirname if Path(new_path).is_dir(): - template_dirs.append(new_path) # pragma: no cover + template_dirs.append(new_path) return tuple(template_dirs)