2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 11:35:41 +00:00

do not trigger reload

This commit is contained in:
Matthias
2021-11-22 01:55:21 +01:00
parent 40dafb7fda
commit 395573ca5b

View File

@ -194,7 +194,7 @@ class Plugins:
if not settings.PLUGIN_TESTING:
plugin_db_setting.active = False
# TODO save the error to the plugin
plugin_db_setting.save()
plugin_db_setting.save(no_reload=True)
# add to inactive plugins so it shows up in the ui
self.plugins_inactive[plug_key] = plugin_db_setting