only reload one

This commit is contained in:
Matthias 2021-11-22 01:30:04 +01:00
parent 3920108d83
commit 1efdf16f92
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -430,7 +430,7 @@ class Plugins:
apps.apps_ready = apps.models_ready = apps.loading = apps.ready = False apps.apps_ready = apps.models_ready = apps.loading = apps.ready = False
apps.clear_cache() apps.clear_cache()
self._try_reload(apps.populate, settings.INSTALLED_APPS) self._try_reload(apps.populate, settings.INSTALLED_APPS)
else:
self._try_reload(apps.set_installed_apps, settings.INSTALLED_APPS) self._try_reload(apps.set_installed_apps, settings.INSTALLED_APPS)
self.is_loading = False self.is_loading = False