From 1be271715c8f3380936719f3b2ab36bf9c3cbc50 Mon Sep 17 00:00:00 2001 From: Florian Baumann Date: Thu, 22 Feb 2024 10:08:16 +0100 Subject: [PATCH] change export format tcgpowertools --- src/serra/export.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/serra/export.go b/src/serra/export.go index 8277d5b..974f853 100644 --- a/src/serra/export.go +++ b/src/serra/export.go @@ -52,9 +52,9 @@ func exportTCGPowertools(cards []Card) { // 260009,1,Totally Lost,Gatecrash,GD,English,true,true,,,1000, // 260009,1,Totally Lost,Gatecrash,NM,English,true,true,,,1000, - fmt.Println("cardmarketId,quantity,name,set,condition,language,isFoil,isPlayset,price,comment") + fmt.Println("quantity,cardmarketId,name,set,condition,language,isFoil,isPlayset,price,comment") for _, card := range cards { - fmt.Printf("%.0f,%d,%s,%s,EX,German,false,false,%.2f,\n", card.CardmarketID, card.SerraCount, card.Name, card.SetName, card.getValue(false)) + fmt.Printf("%d,%.0f,%s,%s,EX,German,false,false,%.2f,\n", card.SerraCount, card.CardmarketID, card.Name, card.SetName, card.getValue(false)) } }