mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
stop CI failing
This commit is contained in:
parent
3050bb0703
commit
aae0018a72
@ -193,6 +193,7 @@ class Plugins:
|
||||
# option1: package, option2: file-based
|
||||
if (plugin.__name__ == disabled) or (plugin.__module__ == disabled):
|
||||
# errors are bad so disable the plugin in the database
|
||||
if not settings.PLUGIN_TESTING:
|
||||
plugin_db_setting.active = False
|
||||
# TODO save the error to the plugin
|
||||
plugin_db_setting.save(no_reload=True)
|
||||
|
Loading…
Reference in New Issue
Block a user