2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-07 04:12:11 +00:00

remove unneeded settings

This commit is contained in:
Matthias
2021-10-17 04:35:24 +02:00
parent cad744e40b
commit 48abd3cf79
3 changed files with 2 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ class PluginTemplateLoader(FilesystemLoader):
def get_dirs(self):
dirname = 'templates'
template_dirs = []
for plugin in settings.INTEGRATION_PLUGINS:
for plugin in settings.INTEGRATION_PLUGIN_LIST.values():
new_path = Path(plugin.path) / dirname
if Path(new_path).is_dir():
template_dirs.append(new_path)