fix error in font and delete blob

This commit is contained in:
2021-07-12 02:54:53 +02:00
parent 6c91ebb32c
commit 67dc1765a3
2 changed files with 1 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ def babbelbingo_file():
def make_bingocard(name, questions): def make_bingocard(name, questions):
image = Image.open('jeevesbot/files/bingokaart.png') image = Image.open('jeevesbot/files/bingokaart.png')
font_name = ImageFont.truetype('jeevesbot/files/Overpass-regular.ttf', 13) font_name = ImageFont.truetype('jeevesbot/files/Overpass-Regular.ttf', 13)
draw = ImageDraw.Draw(image) draw = ImageDraw.Draw(image)
wrapper = textwrap.TextWrapper(width=20, break_on_hyphens=True) wrapper = textwrap.TextWrapper(width=20, break_on_hyphens=True)
box01 = '\n'.join(wrapper.wrap(questions[0])) box01 = '\n'.join(wrapper.wrap(questions[0]))

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB