| defcsv_line(self,id): |
| """return csv line to insert into a table""" |
| return"'"+str(id) +"','"+self.label+"','"+str(self.lat) +"','"+str(self.lng) +"','"+self.route.root+"'" |
Rather than take an extraneous
id argument, we can instead write
self.point_num, which is assigned to the same value immediately before this function is called.
DataProcessing/siteupdate/python-teresco/siteupdate.py
Lines 387 to 389 in 8bcc764
Rather than take an extraneous
idargument, we can instead writeself.point_num, which is assigned to the same value immediately before this function is called.