diff --git a/gen.py b/gen.py index 91250d4..5947d1d 100644 --- a/gen.py +++ b/gen.py @@ -35,8 +35,8 @@ for ypath in years: else: title = "" s = 0 - list+="\n\dayH{"+r.strftime("%A")+"}{"+str(day)+"}{"+str(title)+"}\\" + list+="\n\dayH{"+r.strftime("%A")+"}{"+str(day)+"}{"+str(title)+"}\n" for i in range(s,len(fileContent)): - list+=fileContent[i]+"\n" + list+=fileContent[i]+"\\\" modelTex=open("model.tex","r").read() open("final.tex","w").write(modelTex.replace("REPLACETHIS",list))