Fix indentation
This commit is contained in:
parent
905faedd1b
commit
df1b89a053
1 changed files with 7 additions and 7 deletions
14
colors.py
14
colors.py
|
@ -2599,11 +2599,11 @@ def tradegen(colour=False):
|
|||
content.write(", ")
|
||||
content.write(card["name"])
|
||||
precomma = True
|
||||
elif card["colour"] == colour:
|
||||
if precomma:
|
||||
content.write(", ")
|
||||
content.write(card["name"])
|
||||
precomma = True
|
||||
elif card["colour"] == colour:
|
||||
if precomma:
|
||||
content.write(", ")
|
||||
content.write(card["name"])
|
||||
precomma = True
|
||||
else:
|
||||
if precomma:
|
||||
content.write(", ")
|
||||
|
@ -2615,8 +2615,8 @@ def tradegen(colour=False):
|
|||
if colour == "recent":
|
||||
if card["received"].month == datetime.datetime.now().month and card["received"].year == datetime.datetime.now().year:
|
||||
content.write(printcard(card))
|
||||
elif card["colour"] == colour:
|
||||
content.write(printcard(card))
|
||||
elif card["colour"] == colour:
|
||||
content.write(printcard(card))
|
||||
else:
|
||||
content.write(printcard(card))
|
||||
content.write("</p>\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue