diff --git a/lib/getpositions.py b/lib/getpositions.py index 53afb3e..93dc033 100644 --- a/lib/getpositions.py +++ b/lib/getpositions.py @@ -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 :