From c2535cbcd7deda29b527ed2cbe0caa5f960a74b7 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 17 Oct 2021 19:59:02 +0200 Subject: [PATCH] PEP fix --- InvenTree/plugin/apps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/plugin/apps.py b/InvenTree/plugin/apps.py index 9e925f3be2..5a16e0735d 100644 --- a/InvenTree/plugin/apps.py +++ b/InvenTree/plugin/apps.py @@ -33,7 +33,7 @@ class PluginConfig(AppConfig): for slug, plugin in plugins: if plugin.mixin_enabled('app'): plugin_path = '.'.join(pathlib.Path(plugin.path).relative_to(settings.BASE_DIR).parts) - if plugin_path not in settings.INSTALLED_APPS: + if plugin_path not in settings.INSTALLED_APPS: settings.INSTALLED_APPS += [plugin_path] apps_changed = True