Use semicolon in compare so that csv doesn't break

This commit is contained in:
Matthew Dillon 2015-11-17 13:26:33 -07:00
parent 49757b87c5
commit edb73c80f3

View file

@ -61,7 +61,7 @@ func HandleCompare(w http.ResponseWriter, r *http.Request) *types.AppError {
values[strainID] = fmt.Sprintf("%s (%s)", m.Value(), m.Notes.String)
} else {
if values[strainID] != "" {
values[strainID] = fmt.Sprintf("%s, %s", values[strainID], m.Value())
values[strainID] = fmt.Sprintf("%s; %s", values[strainID], m.Value())
} else {
values[strainID] = m.Value()
}