Fixes data

This commit is contained in:
2016-01-21 09:59:15 +01:00
parent c6a16804cc
commit f3d69cb3d0
2 changed files with 2 additions and 3 deletions

View File

@@ -29,7 +29,6 @@ func StripNonCsvField(a Album) Album {
Num: a.Num,
NumA: a.NumA,
State: a.State,
Author: a.Author,
Editor: a.Editor,
Collection: a.Collection,
SatID: a.SatID,
@@ -78,7 +77,7 @@ func GetCsvData() *bytes.Buffer {
if m == nil {
panic(fmt.Sprintf("should not happen with %#v", a))
}
fmt.Fprintf(res, ";%d;%s;;;%s;;;;%s;%s;;;\"foo\";;;ALBUM\n", a.State, a.PurchaseDate.Format("02/01/2006"), a.Author, m[1], m[2])
fmt.Fprintf(res, ";%d;%s;;;%s;;;;%s;%s;;;\"foo\";;;ALBUM\n", a.State, a.PurchaseDate.Format("02/01/2006"), "", m[1], m[2])
}
return res
}

View File

@@ -1,5 +1,5 @@
[
{
{
"ID": 8179,
"ISBN": "2-8001-1161-5",
"Series": "Mortes saisons",