From c53d73cc1b4144279b02fb7555929701e52196b5 Mon Sep 17 00:00:00 2001 From: fram3d Date: Fri, 29 Dec 2023 20:44:23 +0100 Subject: [PATCH] add more text to textfile --- image_poster.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/image_poster.py b/image_poster.py index 00ebf43..6f43f19 100755 --- a/image_poster.py +++ b/image_poster.py @@ -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: