Skip to content

Commit b6a7df8

Browse files
authored
Merge pull request #2943 from FoamyGuy/kareltherobot
Fix for Karel
2 parents c16c5b8 + ec6d564 commit b6a7df8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CircuitPython_Karel_The_Robot/karel/circuitpythonkarel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def __init__(self, display, world_width=10, world_height=10, beeper_limit=False)
140140
self.world_group = Group()
141141
self.world_group.append(self.background_group)
142142

143-
lib_dir = "/".join(__file__.split("/")[0:3])
143+
lib_dir = "karel"
144144
self.spritesheet_bmp, self.spritesheet_palette = adafruit_imageload.load(
145145
f"{lib_dir}/spritesheet.png"
146146
)

0 commit comments

Comments
 (0)