fix: Längen der Tunnel werden für Fehlerfeststellung ausgeblendet

This commit is contained in:
2025-09-02 17:19:27 +02:00
parent 8fc4d9a746
commit ccbcf0c6e5
+2
View File
@@ -634,6 +634,8 @@ def check_existance(res_mappings: dict, res_dist: dict, res_pos: dict, res_tunne
if s not in res_pos:
ret['missing_sensors'].append(s)
for tname in res_tunnel.keys():
if tname == "length": # dict enthält auch die Länge aller Tunnels in einem Key
continue
if len(res_tunnel[tname]) < 2 :
ret["missing_tunnel"].append(tname)
if len(res_tunnel[tname]) > 2 :