mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
only reload one
This commit is contained in:
parent
3920108d83
commit
1efdf16f92
@ -430,8 +430,8 @@ class Plugins:
|
||||
apps.apps_ready = apps.models_ready = apps.loading = apps.ready = False
|
||||
apps.clear_cache()
|
||||
self._try_reload(apps.populate, settings.INSTALLED_APPS)
|
||||
|
||||
self._try_reload(apps.set_installed_apps, settings.INSTALLED_APPS)
|
||||
else:
|
||||
self._try_reload(apps.set_installed_apps, settings.INSTALLED_APPS)
|
||||
self.is_loading = False
|
||||
|
||||
def _try_reload(self, cmd, *args, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user