diff --git a/gen.py b/gen.py index 6f16d08..38fa3aa 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]+r'\\' modelTex=open("model.tex","r").read() open("final.tex","w").write(modelTex.replace("REPLACETHIS",list))