package cues

import (
	"errors"
)

type CueList struct {
	Cues []Cue
}

func (cueList CueList) ConvertCues() (string, error) {
	var err error
	ret := "Ident 3:0\r\nClear Cues\r\n"

	if cueList.Cues != nil {
		for i := range cueList.Cues {
			line, _ := cueList.Cues[i].ConvertToAscii()
			ret += line
		} //end iterate cueList for

		ret += "EndData"
	} else {
		err = errors.New("No cues provided")
	}

	return ret, err
}

package cues

import (
	"errors"
)

type CueList struct {
	Cues []Cue
}

func (cueList CueList) ConvertCues() (string, error) {
	var err error
	ret := "Ident 3:0\r\n"

	if cueList.Cues != nil {
		for i := range cueList.Cues {
			line, _ := cueList.Cues[i].ConvertToAscii()
			ret += line
		} //end iterate cueList for

		ret += "EndData"
	} else {
		err = errors.New("No cues provided")
	}

	return ret, err
}

Remove Clear Cues entry in output file
Remove Clear Cues entry in output file

It looks like most spreadsheet applications don't support exporting all
sheets into a single csv. In order to import a show from multiple
sheets, users will need to be able to import multiple files without
blowing out the file they just uploaded.
