From 1d2ceafcd30257ff3be2946aa68d20282b196b3f Mon Sep 17 00:00:00 2001 From: Henri Wahl Date: Wed, 27 Mar 2024 09:41:30 +0100 Subject: [PATCH] take away ['result'] --- Nagstamon/Servers/ZabbixProblemBased.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nagstamon/Servers/ZabbixProblemBased.py b/Nagstamon/Servers/ZabbixProblemBased.py index 4cea0fc7..438e4d6e 100644 --- a/Nagstamon/Servers/ZabbixProblemBased.py +++ b/Nagstamon/Servers/ZabbixProblemBased.py @@ -87,7 +87,7 @@ def do_request(self, method, params={}, no_auth=False): def api_version(self, **options): obj = self.do_request('apiinfo.version', options, no_auth=True) - return obj['result'] + return obj def logged_in(self): if self.zbx_auth is None: