Skip to content

Commit

Permalink
Fix py build not using created temp file
Browse files Browse the repository at this point in the history
  • Loading branch information
justmobilize committed Mar 3, 2024
1 parent 9688876 commit 581f7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circuitpython_build_tools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def library(library_path, output_directory, package_folder_prefix,
if mpy_success != 0:
raise RuntimeError("mpy-cross failed on", full_path)
else:
shutil.copyfile(full_path, output_file)
shutil.copyfile(temp_file_name, output_file)
finally:
os.remove(temp_file_name)
else:
Expand Down

0 comments on commit 581f7c5

Please sign in to comment.