pymavlink: fixed waypoint saving

last indentation fix broke the logic