From 2d714a3c204f9b79e4e3f4f61379b8948707600a Mon Sep 17 00:00:00 2001 From: Markus Frei Date: Mon, 25 Mar 2024 16:19:51 +0100 Subject: [PATCH] about-me: Fix code --- check-plugins/about-me/about-me | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check-plugins/about-me/about-me b/check-plugins/about-me/about-me index 9f6814df..dd4f11e7 100755 --- a/check-plugins/about-me/about-me +++ b/check-plugins/about-me/about-me @@ -40,7 +40,7 @@ except ImportError: __author__ = 'Linuxfabrik GmbH, Zurich/Switzerland' -__version__ = '2024032501' +__version__ = '2024032502' DESCRIPTION = 'Reports a quick overview about the host dimensions and installed software.' @@ -989,7 +989,7 @@ def find_software(): # pylint: disable=R0915 } output = run_cmd('openvas version') - if not output or (isinstance(output) == str and not output.startswith('OpenVAS')): + if not output or (isinstance(output, str) and not output.startswith('OpenVAS')): # starting with OpenVAS 22.7.9: output = run_cmd('openvas --version') s['openvas'] = {