From f3b979fad99dfa9cf3dd1981121b57cfa8320c08 Mon Sep 17 00:00:00 2001 From: Roby Date: Mon, 19 Oct 2026 18:23:06 +0200 Subject: [PATCH] update --- system_monitor.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/system_monitor.py b/system_monitor.py index 40dea3f..c87af42 100644 --- a/system_monitor.py +++ b/system_monitor.py @@ -519,6 +519,13 @@ def get_binary_versions(): import re testo_pulito = re.sub(r'^[A-Za-z0-9_\-]+\s+version\s+', '', testo, flags=re.IGNORECASE) + # --- PULIZIA EXTRA PER DSTARGATEWAY --- + if "Copyright" in testo_pulito: + testo_pulito = testo_pulito.split("Copyright")[0].replace("DStarGateway", "").strip() + if testo_pulito.startswith("v"): + testo_pulito = testo_pulito[1:] # Toglie la 'v' iniziale per uniformità + # -------------------------------------- + # Normalizza il nome chiave = "DStarGateway" if "DStar" in nome else nome