Changed \n to \\

This commit is contained in:
2021-10-05 08:45:35 +02:00
committed by GitHub
parent b333424502
commit 1114c8bd9a

2
gen.py
View File

@ -35,7 +35,7 @@ for ypath in years:
else: else:
title = "" title = ""
s = 0 s = 0
list+="\n\dayH{"+r.strftime("%A")+"}{"+str(day)+"}{"+str(title)+"}\n" list+="\n\dayH{"+r.strftime("%A")+"}{"+str(day)+"}{"+str(title)+"}\\"
for i in range(s,len(fileContent)): for i in range(s,len(fileContent)):
list+=fileContent[i]+"\n" list+=fileContent[i]+"\n"
modelTex=open("model.tex","r").read() modelTex=open("model.tex","r").read()