diff --git a/indexgen.py b/indexgen.py index f8ff12d..14d7c8d 100644 --- a/indexgen.py +++ b/indexgen.py @@ -131,7 +131,7 @@ def indexgen(): else: rank = "red" rankcode = re.sub(" ","",rank) - content.write("" + tcgcore.printcard("sig_" + variables.name.lower()) + "\n\n") + content.write("" + tcgcore.printcard("sig_" + variables.name.lower()) + "\n\n") crayred = 0 crayorange = 0 crayyellow = 0 @@ -176,21 +176,21 @@ def indexgen(): if crayred + crayorange + crayyellow + craygreen + crayblue + craypurple + craybrown + craygrey > 0: content.write("\n\n\n") if crayred > 0: - content.write("\n") + content.write("\n") if crayorange > 0: - content.write("\n") + content.write("\n") if crayyellow > 0: - content.write("\n") + content.write("\n") if craygreen > 0: - content.write("\n") + content.write("\n") if crayblue > 0: - content.write("\n") + content.write("\n") if craypurple > 0: - content.write("\n") + content.write("\n") if craybrown > 0: - content.write("\n") + content.write("\n") if craygrey > 0: - content.write("
× " + str(crayred) + " × " + str(crayred) + " × " + str(crayorange) + " × " + str(crayorange) + " × " + str(crayyellow) + " × " + str(crayyellow) + " × " + str(craygreen) + " × " + str(craygreen) + " × " + str(crayblue) + " × " + str(crayblue) + " × " + str(craypurple) + " × " + str(craypurple) + " × " + str(craybrown) + " × " + str(craybrown) + "log\n") + content.write("

log

\n

") if month: - content.write("

Show all

\n") + content.write("Show all") else: - content.write("

Show current month only

\n") + content.write("Show current month only") + content.write("

\n") if month: thelog = [] for event in log.log: diff --git a/tradegen.py b/tradegen.py index 548286f..a2fd7ea 100644 --- a/tradegen.py +++ b/tradegen.py @@ -15,7 +15,7 @@ def tradegen(colour=False): skel.headerwrite(thefile,"trade") content = open(thefile,"a") content.write("

available for trade

\n") - content.write(tcgcore.filterwrite("trade",colour,True)) + content.write(tcgcore.filterwrite("trade",colour,True) + "

") if len(variables.tradestatement) > 0: content.write(variables.tradestatement + " ") content.write("Trade cards here

\n

")