From 5ce6d9301b4a288d18df93729500e0078c1b080c Mon Sep 17 00:00:00 2001 From: MatMasIt Date: Mon, 4 Oct 2021 15:59:27 +0200 Subject: [PATCH] Added \n to generator --- gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen.py b/gen.py index 78ec5ee..8f2377d 100644 --- a/gen.py +++ b/gen.py @@ -37,6 +37,6 @@ for ypath in years: s = 0 list+="\n\dayH{"+r.strftime("%A")+"}{"+str(day)+"}{"+str(title)+"}\n" for i in range(s,len(fileContent)): - list+=fileContent[i] + list+=fileContent[i]+"\n" modelTex=open("model.tex","r").read() open("final.tex","w").write(modelTex.replace("REPLACETHIS",list))