From fd59697d1c40cdf728d94c5d984a372e20b3a5fe Mon Sep 17 00:00:00 2001 From: eric bryant Date: Fri, 1 Jan 2021 20:22:59 -0500 Subject: [PATCH 1/2] nmp detection cleanup for #148, alternative 2 --- siteupdate/python-teresco/siteupdate.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/siteupdate/python-teresco/siteupdate.py b/siteupdate/python-teresco/siteupdate.py index ffbf2930..29805fd0 100755 --- a/siteupdate/python-teresco/siteupdate.py +++ b/siteupdate/python-teresco/siteupdate.py @@ -1031,11 +1031,7 @@ def read_wpt(self,all_waypoints,all_waypoints_lock,datacheckerrors,el,path="../. # print(str(dbg_w) + " ", end="") #print() if len(nmps) > 0: - if w.near_miss_points is None: - w.near_miss_points = nmps - else: - w.near_miss_points.extend(nmps) - + w.near_miss_points = nmps for other_w in nmps: if other_w.near_miss_points is None: other_w.near_miss_points = [ w ] From e30cdcf493b0e4897e095b536a0fd73d55589895 Mon Sep 17 00:00:00 2001 From: Jim Teresco Date: Wed, 20 Jan 2021 21:31:37 -0500 Subject: [PATCH 2/2] New web server directory. --- siteupdate/python-teresco/localupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/siteupdate/python-teresco/localupdate.sh b/siteupdate/python-teresco/localupdate.sh index 7ad5d832..c9b492fd 100644 --- a/siteupdate/python-teresco/localupdate.sh +++ b/siteupdate/python-teresco/localupdate.sh @@ -9,7 +9,7 @@ install=1 pull=1 execdir=`pwd` tmbase=$HOME/travelmapping -tmwebbase=/home/www/tm +tmwebbase=/fast/www/tm tmpdir=/home/tmp/tm datestr=`date '+%Y-%m-%d@%H:%M:%S'` logdir=logs