add more text to textfile

This commit is contained in:
fram3d 2023-12-29 20:44:23 +01:00
parent dfa84076b7
commit c53d73cc1b
Signed by: fram3d
GPG Key ID: 938920E709EEA32A
1 changed files with 2 additions and 1 deletions

View File

@ -67,8 +67,9 @@ def drawPoster(events, bg, fg, month:int):
# Write list of events to sperate text file as well
textfile=open("poster.txt","w")
textfile.write(f"Plan za {MONTHS_SR[month.month - 1]}\n\n")
textfile.write("Radionice pocinju u 19h u DC Krovu\n")
textfile.write("Svi dogadjaji su uvek besplatni\n")
textfile.write("Svi dogadjaji su uvek besplatni\n\n")
# Loop to write events both to poster image and text file
for event in events: