mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 01:08:03 +01:00
Fix update-all from dashboard (#1924)
This commit is contained in:
parent
e006045f59
commit
f763daa577
1 changed files with 2 additions and 2 deletions
|
@ -394,7 +394,7 @@ def command_update_all(args):
|
|||
import click
|
||||
|
||||
success = {}
|
||||
files = list_yaml_files(args.configuration)
|
||||
files = list_yaml_files(args.configuration[0])
|
||||
twidth = 60
|
||||
|
||||
def print_bar(middle_text):
|
||||
|
@ -408,7 +408,7 @@ def command_update_all(args):
|
|||
print("-" * twidth)
|
||||
print()
|
||||
rc = run_external_process(
|
||||
"esphome", "--dashboard", "run", f, "--no-logs", "--device", "OTA"
|
||||
"esphome", "--dashboard", "run", "--no-logs", "--device", "OTA", f
|
||||
)
|
||||
if rc == 0:
|
||||
print_bar("[{}] {}".format(color(Fore.BOLD_GREEN, "SUCCESS"), f))
|
||||
|
|
Loading…
Reference in a new issue