mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
Fix version printing not breaking yaml parsing (#4904)
This commit is contained in:
parent
b723728177
commit
69f5674d9e
1 changed files with 1 additions and 1 deletions
|
@ -932,7 +932,7 @@ def run_esphome(argv):
|
||||||
_LOGGER.error(e, exc_info=args.verbose)
|
_LOGGER.error(e, exc_info=args.verbose)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
safe_print(f"ESPHome {const.__version__}")
|
_LOGGER.info("ESPHome %s", const.__version__)
|
||||||
|
|
||||||
for conf_path in args.configuration:
|
for conf_path in args.configuration:
|
||||||
if any(os.path.basename(conf_path) == x for x in SECRETS_FILES):
|
if any(os.path.basename(conf_path) == x for x in SECRETS_FILES):
|
||||||
|
|
Loading…
Reference in a new issue