Fixed spacing

This commit is contained in:
Mattia Mascarello 2021-10-05 08:49:51 +02:00 committed by GitHub
parent 1114c8bd9a
commit 02b72a1f81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
gen.py
View File

@ -35,8 +35,8 @@ for ypath in years:
else: else:
title = "" title = ""
s = 0 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)): for i in range(s,len(fileContent)):
list+=fileContent[i]+"\n" 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))