From 9012a1410a0578307db7ecdb51e52ef8f4433062 Mon Sep 17 00:00:00 2001 From: Artem Kotik Date: Sun, 29 Sep 2024 17:25:14 +0200 Subject: [PATCH] Fix ruff --- netbox_config_diff/forms/general.py | 1 + 1 file changed, 1 insertion(+) diff --git a/netbox_config_diff/forms/general.py b/netbox_config_diff/forms/general.py index e2aaa12..ac7cf8e 100644 --- a/netbox_config_diff/forms/general.py +++ b/netbox_config_diff/forms/general.py @@ -26,6 +26,7 @@ class ConfigComplianceFilterForm(NetBoxModelFilterSetForm): model = ConfigCompliance + if VERSION.startswith("3."): fieldsets = ((None, ("q", "device_id", "status")),) else: fieldsets = (FieldSet("q", "device_id", "status"),)