mirror of
https://github.com/esphome/esphome.git
synced 2025-01-03 11:21:43 +01:00
Output from platformio click command does not need to be decoded (#953)
This commit is contained in:
parent
eb895d2095
commit
a4ab52918b
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ def run_upload(config, verbose, port):
|
||||||
|
|
||||||
def run_idedata(config):
|
def run_idedata(config):
|
||||||
args = ['-t', 'idedata']
|
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)
|
match = re.search(r'{\s*".*}', stdout)
|
||||||
if match is None:
|
if match is None:
|
||||||
_LOGGER.debug("Could not match IDEData for %s", stdout)
|
_LOGGER.debug("Could not match IDEData for %s", stdout)
|
||||||
|
|
Loading…
Reference in a new issue