Fix indentation
This commit is contained in:
parent
48a98cdc0e
commit
0da1960ed6
@ -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):
|
||||
|
Reference in New Issue
Block a user