Skip to content

Commit

Permalink
Fixed stat command for board tree delete
Browse files Browse the repository at this point in the history
  • Loading branch information
ubidefeo committed Mar 19, 2024
1 parent 7bf07e1 commit d2ce56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/arduino2/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const microPythonFShelpers = `
import os
os.chdir('/')
def is_directory(path):
return True if stat(path)[0] == 0x4000 else False
return True if os.stat(path)[0] == 0x4000 else False
def file_tree_generator(folder_path, depth=0):
try:
Expand Down

0 comments on commit d2ce56a

Please sign in to comment.