def delete(self, choice):
        '''
        Deletes the specified waypoint name from the dictionary of waypoints
        
        :param choice: Name of the waypoint to delete
        :type choice: str
        '''
        waypt = None
        for waypoint in self.waypoint_names:
            if choice.startswith(waypoint):
                waypt = waypoint

        if waypt:
            self.waypoint_names.remove(waypt)

        del self.waypoints[choice]
        self.save()
        if not (len(self.waypoints) > 0):
            self.waypoints["Empty"] = [0,0,0,0,0,0]

        Deletes the specified waypoint name from the dictionary of waypoints
        
        :param choice: Name of the waypoint to delete
        :type choice: str
        
waypoints.py