forked from Decentrala/website
fix wrong array index
This commit is contained in:
parent
a70fd1369e
commit
a321ebe765
@ -45,7 +45,7 @@ def drawPoster(events, bg, fg):
|
||||
_, _, w, _ = draw.textbbox((0, 0), header, font=fontFacade)
|
||||
draw.text(((W-w)/2, 120), header, font=fontFacade, fill=fg)
|
||||
|
||||
subheader = f"Plan za {MONTHS_SR[NEXT_MONTH.month]}"
|
||||
subheader = f"Plan za {MONTHS_SR[NEXT_MONTH.month - 1]}"
|
||||
_, _, w, _ = draw.textbbox((0, 0), subheader, font=fontIosevka)
|
||||
draw.text(((W-w)/2, 240), subheader, font=fontIosevka, fill=fg)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user