diff --git a/SotMDeckBuilder.py b/SotMDeckBuilder.py index 1e15e40..2192fc1 100755 --- a/SotMDeckBuilder.py +++ b/SotMDeckBuilder.py @@ -127,19 +127,19 @@ def makeFaces(deckJson, outfile): def makeCardJson(template, nickname, description, cardID): card = template.copy() card.update({"Nickname": nickname, - "Description": description, - "CardID": cardID}) + "Description": description, + "CardID": cardID}) return card def makeDoubleSidedCardJson(template, nickname, descriptionFront, - descriptionBack, cardID): + descriptionBack, cardID): cardBack = makeCardJson(template, nickname, descriptionBack, cardID + 1) card = template.copy() card.update({"Nickname": nickname, - "Description": descriptionFront, - "CardID": cardID, - "States": {"2": cardBack}}) + "Description": descriptionFront, + "CardID": cardID, + "States": {"2": cardBack}}) return card def makeJson(deckJson, imgWidth, outfile):