fix file path
This commit is contained in:
parent
e226a751fa
commit
213c1a556d
@ -103,7 +103,7 @@ def convert_to_image(sudoku, size=16, flipped=False):
|
||||
unicode_text = sudoku[0]
|
||||
# print(sudoku)
|
||||
# print(len(sudoku))
|
||||
verdana_font = ImageFont.truetype("IBMPlexMono-Medium.ttf", size, encoding="unic")
|
||||
verdana_font = ImageFont.truetype("application/IBMPlexMono-Medium.ttf", size, encoding="unic")
|
||||
|
||||
# get the line size
|
||||
bx, by, text_width, text_height = verdana_font.getbbox(unicode_text)
|
||||
|
Loading…
Reference in New Issue
Block a user