From 07049ea6d864aa7e992bf54f8a40e22526607c3d Mon Sep 17 00:00:00 2001 From: Raymond Kuiper Date: Wed, 24 Jul 2024 11:05:35 +0200 Subject: [PATCH] Adjustment from linting suggestion --- modules/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/device.py b/modules/device.py index 265e7d8..1947cbd 100644 --- a/modules/device.py +++ b/modules/device.py @@ -376,7 +376,7 @@ class NetworkDevice(): # check if the key Zabbix is defined in the config context if not "zabbix" in self.nb.config_context: return False - elif ("proxy" in self.nb.config_context["zabbix"] and + if ("proxy" in self.nb.config_context["zabbix"] and not self.nb.config_context["zabbix"]["proxy"]): return False # Proxy group takes priority over a proxy due