forked from Decentrala/website
add more text to textfile
This commit is contained in:
parent
dfa84076b7
commit
c53d73cc1b
@ -67,8 +67,9 @@ def drawPoster(events, bg, fg, month:int):
|
|||||||
# Write list of events to sperate text file as well
|
# Write list of events to sperate text file as well
|
||||||
textfile=open("poster.txt","w")
|
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("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
|
# Loop to write events both to poster image and text file
|
||||||
for event in events:
|
for event in events:
|
||||||
|
Loading…
Reference in New Issue
Block a user