Skip to content

Commit 7a532e8

Browse files
authored
Update esp32.py
Oops, changed the wrong mkdir
1 parent 3808ea9 commit 7a532e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/esp32.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def save(self):
125125
)
126126

127127
if not os.path.exists(f'{SCRIPT_DIR}/build'):
128-
os.makedirs(f'{SCRIPT_DIR}/build')
128+
os.mkdir(f'{SCRIPT_DIR}/build')
129129

130130
with open(self.save_file_path, 'w') as f:
131131
f.write(PARTITION_HEADER)
@@ -850,7 +850,7 @@ def find_esp32_ports(chip):
850850

851851

852852
if not os.path.exists('micropy_updates/originals/esp32'):
853-
os.mkdir('micropy_updates/originals/esp32')
853+
os.makedirs('micropy_updates/originals/esp32')
854854

855855

856856
def update_mpthreadport():

0 commit comments

Comments
 (0)