Do not even import excluded plugins

This commit is contained in:
Raphael Michel
2020-07-16 08:42:29 +02:00
parent d3282a1acb
commit b61893e3b1

View File

@@ -307,6 +307,8 @@ except ImportError:
PLUGINS = []
for entry_point in iter_entry_points(group='pretix.plugin', name=None):
if entry_point.module_name in PRETIX_PLUGINS_EXCLUDE:
continue
PLUGINS.append(entry_point.module_name)
INSTALLED_APPS.append(entry_point.module_name)