Skip to content

Commit 4ff83d5

Browse files
committed
absolute path to import file
1 parent c578828 commit 4ff83d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Fruit_Jam/Fruit_Jam_Logic_Gates/workspace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ def handle_key_press(self, key_bytes, mouse_x, mouse_y):
427427
# update the message to the user with the value they typed
428428
self.message_lbl.text += key_str
429429
if "logic_gates_import.json" in os.listdir("/"):
430-
with open("logic_gates_import.json", "r") as f:
430+
with open("/logic_gates_import.json", "r") as f:
431431
import_data = f.read()
432432
# write JSON data to the save file with slot number in filename
433433
with open(f"/saves/logic_gates_{key_str}.json", "w") as f:

0 commit comments

Comments
 (0)