mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
only reload once - even if forced
This commit is contained in:
parent
a1b821bf78
commit
adc058c8b4
@ -298,8 +298,8 @@ class Plugins:
|
||||
if self.apps_loading or force_reload:
|
||||
self.apps_loading = False
|
||||
self._reload_apps(force_reload=True)
|
||||
|
||||
self._reload_apps()
|
||||
else:
|
||||
self._reload_apps()
|
||||
|
||||
# rediscover models/ admin sites
|
||||
self._reregister_contrib_apps()
|
||||
|
Loading…
Reference in New Issue
Block a user