Skip to content

Commit d2ce56a

Browse files
committed
Fixed stat command for board tree delete
1 parent 7bf07e1 commit d2ce56a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/arduino2/store.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const microPythonFShelpers = `
1313
import os
1414
os.chdir('/')
1515
def is_directory(path):
16-
return True if stat(path)[0] == 0x4000 else False
16+
return True if os.stat(path)[0] == 0x4000 else False
1717
1818
def file_tree_generator(folder_path, depth=0):
1919
try:

0 commit comments

Comments
 (0)