From a4ab52918b60410039b57751070c2788725ab6b8 Mon Sep 17 00:00:00 2001 From: Brandon Davidson Date: Wed, 11 Mar 2020 17:16:05 -0700 Subject: [PATCH] Output from platformio click command does not need to be decoded (#953) --- esphome/platformio_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/platformio_api.py b/esphome/platformio_api.py index 59f5bf20ae..29bfe7d2e6 100644 --- a/esphome/platformio_api.py +++ b/esphome/platformio_api.py @@ -98,7 +98,7 @@ def run_upload(config, verbose, port): def run_idedata(config): args = ['-t', 'idedata'] - stdout = run_platformio_cli_run(config, False, *args, capture_stdout=True).decode() + stdout = run_platformio_cli_run(config, False, *args, capture_stdout=True) match = re.search(r'{\s*".*}', stdout) if match is None: _LOGGER.debug("Could not match IDEData for %s", stdout)