Skip to content

Waypoint.csv_line #324

Description

@yakra

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions