this is simpler to read

This commit is contained in:
Matthias 2021-11-15 02:10:57 +01:00
parent 1aafec7107
commit dbfe0d39ea
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -176,7 +176,7 @@ class PluginAppConfig(AppConfig):
def activate_integration_app(self, plugins):
from common.models import InvenTreeSetting
if settings.PLUGIN_TESTING or (InvenTreeSetting.get_setting('ENABLE_PLUGINS_APP')):
if settings.PLUGIN_TESTING or InvenTreeSetting.get_setting('ENABLE_PLUGINS_APP'):
logger.info('Registering IntegrationPlugin apps')
apps_changed = False