From 8e75ee15412df58b6daf8e60a31df0a1208f2e9f Mon Sep 17 00:00:00 2001 From: ITSEC-DACHSER <50357205+ITSEC-DACHSER@users.noreply.github.com> Date: Fri, 12 Jul 2024 08:11:04 +0200 Subject: [PATCH] Formatting error fixed fixed a formatting error in scan-new-system.gmp.py, which caused the build to fail due to code reformatting --- scripts/scan-new-system.gmp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/scan-new-system.gmp.py b/scripts/scan-new-system.gmp.py index e059a05d..0bed877f 100644 --- a/scripts/scan-new-system.gmp.py +++ b/scripts/scan-new-system.gmp.py @@ -43,9 +43,9 @@ def create_target(gmp, ipaddress, port_list_id): def create_task(gmp, ipaddress, target_id, scan_config_id, scanner_id, name="Scan Suspect Host"): if name == "Scan Suspect Host": - name = f"Scan Suspect Host {ipaddress}" + name = f"Scan Suspect Host {ipaddress}" else: - name = f"{name}" + name = f"{name}" response = gmp.create_task( name=name, config_id=scan_config_id,