Create file from path and not filename.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
amora/lib/*
|
||||
*.uf2
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user