From 64bb1785e9530f016edbea01237db03991c82f25 Mon Sep 17 00:00:00 2001 From: MatMasIt Date: Tue, 5 Oct 2021 08:53:45 +0200 Subject: [PATCH] Fixed backslash --- gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen.py b/gen.py index 5947d1d..6f16d08 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]+'\\' modelTex=open("model.tex","r").read() open("final.tex","w").write(modelTex.replace("REPLACETHIS",list))