Create file from path and not filename.

This commit is contained in:
Himadri Bhattacharjee
2023-03-24 11:25:04 +05:30
parent f707490be2
commit fa77e4391e
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
amora/lib/*
*.uf2

View File

@@ -29,7 +29,7 @@ def handle(body, response):
elif action == "delete":
os.remove(path)
elif action == "create":
create(filename)
create(path)
elif action == "run":
if filename is not None:
run_script_file(path)