\n" + event["type"] + " | \n" + str(event["words"]) + "" + str(event["fics"]) + " fic")
if event["fics"] > 1:
@@ -474,7 +474,7 @@ def yeargen(local=False):
filewrite.write("" + str(ficsum(int(fic["ficno"]),year,local=local)) + "")
filewrite.write("\n\n")
else:
- filewrite.write("\nWords per event\n\n\nEvent | \nWords | \n \n\n\n")
+ filewrite.write("\nWords per event\n\n\nEvent | \nWords | \n \n\n\n")
for event in neweventslist:
filewrite.write("\n")
if event["eventlocation"] == "dwcomm":
@@ -509,7 +509,7 @@ def yeargen(local=False):
for fic in ficdeets:
fandomlist.extend(fic["fandom"])
fandomlist = sorted(list(dict.fromkeys(fandomlist)))
- filewrite.write("\nBy fandom\n\nWords per fandom\n\n\n Fandom | \n Words | \n \n\n\n")
+ filewrite.write("\nBy fandom\n\nWords per fandom\n\n\n Fandom | \n Words | \n \n\n\n")
fandomdeets = []
for fandom in fandomlist:
fandomdict = {"name":fandom,"ficno":[],"words":0}
@@ -530,7 +530,7 @@ def yeargen(local=False):
for fic in fandom["ficno"]:
filewrite.write("" + str(ficsum(int(fic),year,showfandom=False,local=local)) + "\n")
filewrite.write("\n")
- filewrite.write("\nBy month\n\nWords per month\n\n\nMonth | \nWords | \n \n\n")
+ filewrite.write("\nBy month\n\nWords per month\n\n\nMonth | \nWords | \n \n\n")
monthcombine = []
for fic in datesplit:
# read the file back in to get the right word count, because dicts are dynamic somehow??
| |