Skip to content

Commit

Permalink
write mode on file
Browse files Browse the repository at this point in the history
  • Loading branch information
FoamyGuy committed Oct 5, 2024
1 parent 5200e6d commit ce0606d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adabot/circuitpython_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def new_release(bundle, bundle_path):

if cp_bundle == "CircuitPython_Community_Bundle":
# echo "print('hello world')" > libraries/helpers/PiperBlocklyLibrary/extrarootfile.py
with open(os.path.join(bundle_dir, "libraries/helpers/PiperBlocklyLibrary/extrarootfile.py")) as f:
with open(os.path.join(bundle_dir, "libraries/helpers/PiperBlocklyLibrary/extrarootfile.py"), "w") as f:
f.write("print('hello world')")
test_bundle_build(bundle_dir)
except SystemExit as e:
Expand Down

0 comments on commit ce0606d

Please sign in to comment.