From cd52de6b5fc21f779b6eee94cb610ca4a6e30ff1 Mon Sep 17 00:00:00 2001 From: kkthxbye-code Date: Tue, 20 Dec 2022 11:47:55 +0100 Subject: [PATCH] PEP8 fix --- netbox/dcim/forms/model_forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/forms/model_forms.py b/netbox/dcim/forms/model_forms.py index 850f753f3..4c1f14da9 100644 --- a/netbox/dcim/forms/model_forms.py +++ b/netbox/dcim/forms/model_forms.py @@ -1623,7 +1623,7 @@ class InventoryItemForm(DeviceComponentForm): initial = kwargs.get('initial', {}).copy() component_type = initial.get('component_type') component_id = initial.get('component_id') - + # Used for picking the default active tab for component selection self.no_component = True