Skip to content

Commit

Permalink
Merge pull request micropython#3973 from kattni/update-code-py
Browse files Browse the repository at this point in the history
Update created code.py file formatting.
  • Loading branch information
dhalbert committed Jan 12, 2021
2 parents 4db5565 + 09596dd commit 047708e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisor/shared/filesystem.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static void make_sample_code_file(FATFS *fatfs) {
#if CIRCUITPY_FULL_BUILD
FIL fs;
UINT char_written = 0;
const byte buffer[] = "print('Hello World!')\n";
const byte buffer[] = "print(\"Hello World!\")\n";
//Create or modify existing code.py file
f_open(fatfs, &fs, "/code.py", FA_WRITE | FA_CREATE_ALWAYS);
f_write(&fs, buffer, sizeof(buffer) - 1, &char_written);
Expand Down

0 comments on commit 047708e

Please sign in to comment.