1
0
Fork 0
mirror of https://github.com/Findus23/cr-search.git synced 2024-09-19 15:23:44 +02:00

fix backend path

This commit is contained in:
Lukas Winkler 2021-11-28 19:45:40 +01:00
parent 797214712e
commit 27503390a8
Signed by: lukas
GPG key ID: 54DE4D798D244853

2
ssr.py
View file

@ -28,7 +28,7 @@ def draw_image(text: str, description: str, subtitle=None) -> BytesIO:
if subtitle:
text += "\n" + subtitle
width, height = (1200, 600)
img = Image.open("./src/assets/background_small.png")
img = Image.open("web/src/assets/background_small.png")
mr_eves = ImageFont.truetype("web/fonts/Mr Eaves/Mr Eaves Small Caps.otf", 50)
title_font = ImageFont.truetype("web/fonts/Nodesto Caps Condensed/Nodesto Caps Condensed.otf", 120)