Skip to content

Commit 4bbfa86

Browse files
committed
fix modal error
1 parent 0045e87 commit 4bbfa86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commit0/harness/execution_context.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def __init__(
170170
image = modal.Image.from_registry(image_name, force_build=rebuild_image)
171171
if files_to_copy:
172172
for _, f in files_to_copy.items():
173-
image = image.add_local_file(f["src"], f["dest"]) # type: ignore
173+
image = image.add_local_file(str(f["src"]), str(f["dest"])) # type: ignore
174174
self.image = image
175175

176176
def exec_run_with_timeout(self, command: str) -> tuple[str, bool, float]:

0 commit comments

Comments
 (0)