Fixed backslash
This commit is contained in:
parent
02b72a1f81
commit
64bb1785e9
2
gen.py
2
gen.py
|
@ -37,6 +37,6 @@ for ypath in years:
|
||||||
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)+"}\n"
|
||||||
for i in range(s,len(fileContent)):
|
for i in range(s,len(fileContent)):
|
||||||
list+=fileContent[i]+"\\\"
|
list+=fileContent[i]+'\\'
|
||||||
modelTex=open("model.tex","r").read()
|
modelTex=open("model.tex","r").read()
|
||||||
open("final.tex","w").write(modelTex.replace("REPLACETHIS",list))
|
open("final.tex","w").write(modelTex.replace("REPLACETHIS",list))
|
||||||
|
|
Reference in New Issue
Block a user