From bc12064b6a60a9b322677acdcf3480fbedddaf7c Mon Sep 17 00:00:00 2001 From: Raymond Kuiper Date: Fri, 12 Sep 2025 14:27:06 +0200 Subject: [PATCH] corrected linting error --- netbox_zabbix_sync.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/netbox_zabbix_sync.py b/netbox_zabbix_sync.py index 08e507f..c2e0865 100755 --- a/netbox_zabbix_sync.py +++ b/netbox_zabbix_sync.py @@ -82,7 +82,8 @@ def main(arguments): device_cfs = [] vm_cfs = [] device_cfs = list( - netbox.extras.custom_fields.filter(type=["text","object","select"], content_types="dcim.device") + netbox.extras.custom_fields.filter(type=["text","object","select"], + content_types="dcim.device") ) verify_hg_format( config["hostgroup_format"], device_cfs=device_cfs, hg_type="dev", logger=logger @@ -90,7 +91,8 @@ def main(arguments): if config["sync_vms"]: vm_cfs = list( netbox.extras.custom_fields.filter( - type=["text","object","select"], content_types="virtualization.virtualmachine" + type=["text","object","select"], + content_types="virtualization.virtualmachine" ) ) verify_hg_format(