Skip to content

Commit 7cc927e

Browse files
committed
disk-image-minimal: correctly type key
1 parent ad3d72d commit 7cc927e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycheribuild/projects/disk_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def add_from_mtree(self, mtree_file, mtree_path, strip_binaries: "Optional[bool]
342342
if not self.maybe_strip_elf_file(file, output_path=stripped_path):
343343
stripped_path = contents
344344
self.stripped_contents[contents] = stripped_path
345-
self.stripped_contents[stripped_path] = stripped_path
345+
self.stripped_contents[str(stripped_path)] = stripped_path
346346
else:
347347
stripped_path = self.stripped_contents[contents]
348348
if stripped_path != contents:

0 commit comments

Comments
 (0)