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
" + firstdate.strftime("%Y-%m-%d") + "
" + datetime.datetime.today().strftime("%Y-%m-%d") + "
" + firstdate.strftime("%Y-%m-%d") + "
" + datetime.datetime.today().strftime("%Y-%m-%d") + "
× " + str(crayred) + " | \n") + content.write("× " + str(crayred) + " | \n") if crayorange > 0: - content.write("× " + str(crayorange) + " | \n") + content.write("× " + str(crayorange) + " | \n") if crayyellow > 0: - content.write("× " + str(crayyellow) + " | \n") + content.write("× " + str(crayyellow) + " | \n") if craygreen > 0: - content.write("× " + str(craygreen) + " | \n") + content.write("× " + str(craygreen) + " | \n") if crayblue > 0: - content.write("× " + str(crayblue) + " | \n") + content.write("× " + str(crayblue) + " | \n") if craypurple > 0: - content.write("× " + str(craypurple) + " | \n") + content.write("× " + str(craypurple) + " | \n") if craybrown > 0: - content.write("× " + str(craybrown) + " | \n") + content.write("× " + str(craybrown) + " | \n") if craygrey > 0: - content.write("log\n")
+ content.write("log\n") if month: - content.write(" \n") + content.write("Show all") else: - content.write("\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") |