Skip to content

Commit

Permalink
fix font path
Browse files Browse the repository at this point in the history
  • Loading branch information
BartekCupial committed Mar 5, 2024
1 parent 2f232b0 commit 071574b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sf_examples/nethack/utils/wrappers/screen_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from numba import njit
from PIL import Image, ImageDraw, ImageFont

SMALL_FONT_PATH = importlib.resources.files("sf_examples") / "nethack/nethack_render_utils/Hack-Regular.ttf"
SMALL_FONT_PATH = str(importlib.resources.files("sf_examples") / "nethack/nethack_render_utils/Hack-Regular.ttf")

# Mapping of 0-15 colors used.
# Taken from bottom image here. It seems about right
Expand Down

0 comments on commit 071574b

Please sign in to comment.