1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-07 13:40:59 +00:00

take a list

This commit is contained in:
J. Nick Koston 2023-11-15 15:52:50 -06:00
parent 74e9196dad
commit 86555b3398
No known key found for this signature in database

View File

@ -549,7 +549,7 @@ class DownloadBinaryRequestHandler(BaseHandler):
if not Path(path).is_file():
args = ["esphome", "idedata", settings.rel_path(configuration)]
rc, stdout, _ = await async_run_system_command(*args)
rc, stdout, _ = await async_run_system_command(args)
if rc != 0:
self.send_error(404 if rc == 2 else 500)
@ -911,7 +911,7 @@ class JsonConfigRequestHandler(BaseHandler):
args = ["esphome", "config", filename, "--show-secrets"]
rc, stdout, _ = await async_run_system_command(*args)
rc, stdout, _ = await async_run_system_command(args)
if rc != 0:
self.send_error(422)