@ -264,7 +264,8 @@ def indexgen():
content.write("</p>\n")
if len(variables.faves) > 0:
content.write("<h2>faves</h2>\n<p>")
for card in variables.faves:
faveslist = sorted(variables.faves)
for card in faveslist:
content.write(tcgcore.printcard(card))
content.close()
@ -62,7 +62,7 @@ def datemastered(deck):
return mastered
def collecting(deck):
if len (deckcards(deck)) < 20:
if 0 < len (deckcards(deck)) < 20:
if deck in variables.highpriority:
return True
else: