fix: Längen der Tunnel werden für Fehlerfeststellung ausgeblendet
This commit is contained in:
@@ -634,6 +634,8 @@ def check_existance(res_mappings: dict, res_dist: dict, res_pos: dict, res_tunne
|
|||||||
if s not in res_pos:
|
if s not in res_pos:
|
||||||
ret['missing_sensors'].append(s)
|
ret['missing_sensors'].append(s)
|
||||||
for tname in res_tunnel.keys():
|
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 :
|
if len(res_tunnel[tname]) < 2 :
|
||||||
ret["missing_tunnel"].append(tname)
|
ret["missing_tunnel"].append(tname)
|
||||||
if len(res_tunnel[tname]) > 2 :
|
if len(res_tunnel[tname]) > 2 :
|
||||||
|
|||||||
Reference in New Issue
Block a user