small fix. Weigth wurde nicht als float an networx Modul übergeben. Dadurch wurde durch eine Exception das Program nicht beendet

This commit is contained in:
2025-05-27 18:58:38 +02:00
parent d0b3ee7610
commit 192c7361c1
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -178,6 +178,8 @@ if __name__ == "__main__":
print(to_json(cable_paths['errors_sensors']))
print("failed dists:")
print(to_json(cable_paths['errors_dists']))
print("failed tunnels:")
print(to_json(cable_paths['errors_tunnels']))
# Ausgabe schreiben
if args.write: