mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 21:15:41 +00:00
PEP fix
This commit is contained in:
@ -169,7 +169,7 @@ class PluginAppConfig(AppConfig):
|
||||
if settings.PLUGIN_TESTING or (plugin_db_setting and plugin_db_setting.active):
|
||||
# check if the plugin was blocked -> threw an error
|
||||
if disabled:
|
||||
if plugin.__name__==disabled:
|
||||
if plugin.__name__ == disabled:
|
||||
# errors are bad so disable the plugin in the database
|
||||
# but only if not in testing mode as that breaks in the GH pipeline
|
||||
if not settings.PLUGIN_TESTING:
|
||||
|
Reference in New Issue
Block a user