From fc400d956d5d0841aed5fd13f87eab31bdc998a9 Mon Sep 17 00:00:00 2001 From: eric bryant Date: Sun, 3 Jan 2021 14:55:25 -0500 Subject: [PATCH] ConnectedRoute constructor fix for #394 --- siteupdate/python-teresco/siteupdate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/siteupdate/python-teresco/siteupdate.py b/siteupdate/python-teresco/siteupdate.py index ffbf2930..7e1cb8ae 100755 --- a/siteupdate/python-teresco/siteupdate.py +++ b/siteupdate/python-teresco/siteupdate.py @@ -1119,6 +1119,7 @@ def __init__(self,line,system,el): self.banner = "" self.groupname = "" self.roots = [] + self.mileage = 0.0 fields = line.split(";") if len(fields) != 5: el.add_error("Could not parse " + system.systemname + "_con.csv line: [" + line + @@ -1165,7 +1166,6 @@ def __init__(self,line,system,el): if len(self.roots) < 1: el.add_error("No roots in " + system.systemname + "_con.csv line: " + line) # will be computed for routes in active & preview systems later - self.mileage = 0.0 def csv_line(self): """return csv line to insert into a table"""