fix error in font and delete blob
This commit is contained in:
@@ -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 |
Reference in New Issue
Block a user