Sort fics properly in month chart
This commit is contained in:
parent
08f04db57f
commit
70c9cba2bf
1 changed files with 1 additions and 0 deletions
|
@ -572,6 +572,7 @@ def yeargen(local=False):
|
|||
newfic["words"] += fic["words"]
|
||||
if ficlogged == False:
|
||||
monthcombine.append(fic)
|
||||
monthcombine = sorted(monthcombine,key=lambda d: d["date"])
|
||||
jan = {"fics":[],"words":0}
|
||||
feb = {"fics":[],"words":0}
|
||||
mar = {"fics":[],"words":0}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue