Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Check both built-in and external plugins lists for duplications
Cezary Miączf9b5eb254377
diff --git a/saleor/settings.py b/saleor/settings.pyindex 6ac3d4e2e4..3bf3468dbe 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -581,7 +581,7 @@ EXTERNAL_PLUGINS = []installed_plugins = pkg_resources.iter_entry_points("saleor.plugins")for entry_point in installed_plugins:plugin_path = "{}.{}".format(entry_point.module_name, entry_point.attrs[0])- if plugin_path not in EXTERNAL_PLUGINS:+ if plugin_path not in BUILTIN_PLUGINS and plugin_path not in EXTERNAL_PLUGINS:if entry_point.name not in INSTALLED_APPS:INSTALLED_APPS.append(entry_point.name)EXTERNAL_PLUGINS.append(plugin_path)