mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 17:38:37 -06:00
PEP8 fixes
This commit is contained in:
parent
dc522a0135
commit
5c1417c4c7
@ -670,6 +670,7 @@ for plugin_name in PLUGINS:
|
||||
)
|
||||
|
||||
plugin_module = "{}.{}".format(plugin_config.__module__, plugin_config.__name__) # type: ignore
|
||||
|
||||
# Gather additionnal apps to load alongside this plugin
|
||||
plugin_apps = plugin_config.django_apps
|
||||
if plugin_name in plugin_apps:
|
||||
@ -691,7 +692,6 @@ for plugin_name in PLUGINS:
|
||||
"installed within the correct Python environment."
|
||||
)
|
||||
|
||||
|
||||
INSTALLED_APPS.extend(plugin_apps)
|
||||
|
||||
# Preserve uniqueness of the INSTALLED_APPS list, we keep the last occurence
|
||||
|
Loading…
Reference in New Issue
Block a user