From 75d822f62a7175025e5644182b3c8b3a863c94ca Mon Sep 17 00:00:00 2001 From: TheNetworkGuy Date: Wed, 12 Apr 2023 17:53:10 +0200 Subject: [PATCH] Rolled back contaminated code meant for #27 in main branch, issue created in #34 --- netbox_zabbix_sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox_zabbix_sync.py b/netbox_zabbix_sync.py index cca5b68..844ae74 100755 --- a/netbox_zabbix_sync.py +++ b/netbox_zabbix_sync.py @@ -213,7 +213,7 @@ class NetworkDevice(): logger.warning(e) raise SyncInventoryError(e) - # Gather device Zabbix templates + # Gather device Zabbix template device_type_cf = self.nb.device_type.custom_fields if(template_cf in device_type_cf): self.template_name = device_type_cf[template_cf]