turns out we needed that

This commit is contained in:
Matthias 2021-11-17 02:03:03 +01:00
parent e121ad374b
commit 0f321b8e83
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -298,9 +298,11 @@ class PluginAppConfig(AppConfig):
# remove plugin from installed_apps
for plugin in settings.INTEGRATION_APPS_PATHS:
settings.INSTALLED_APPS.remove(plugin)
if plugin in settings.INSTALLED_APPS:
settings.INSTALLED_APPS.remove(plugin)
# reset load flag and reload apps
settings.INTEGRATION_APPS_PATHS = []
settings.INTEGRATION_APPS_LOADED = False
self._reload_apps()