Put the ship categories back in

master
trémeur 1 year ago
parent 2531fb0750
commit cb2223a620

@ -93,9 +93,9 @@ def shiplist(local=False):
filewrite.write("<details><summary><span class=\"character " + cssgame + "\">" + ship + "</span> ")
# write statistics
if len(maincount) > 0:
filewrite.write("<span class=\"main\">" + str(len(maincount)) + "</span>")
filewrite.write("<span class=\"main\"> main: " + str(len(maincount)) + "</span>")
if len(secondarycount) > 0:
filewrite.write("<span class=\"secondary\">" + str(len(secondarycount)) + "</span>")
filewrite.write("<span class=\"secondary\"> secondary: " + str(len(secondarycount)) + "</span>")
filewrite.write("</summary>\n")
filewrite.close()
# write fic headers in each category

Loading…
Cancel
Save