mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 01:34:18 +01:00
reformat
This commit is contained in:
parent
7eb0497acd
commit
5c5242264f
1 changed files with 0 additions and 7 deletions
|
@ -1039,13 +1039,6 @@ def run_esphome(argv):
|
|||
_LOGGER.warning("Please instead use:")
|
||||
_LOGGER.warning(" esphome %s", " ".join(args.deprecated_argv_suggestion))
|
||||
|
||||
if sys.version_info < (3, 8, 0):
|
||||
_LOGGER.error(
|
||||
"You're running ESPHome with Python <3.8. ESPHome is no longer compatible "
|
||||
"with this Python version. Please reinstall ESPHome with Python 3.8+"
|
||||
)
|
||||
return 1
|
||||
|
||||
if args.command in PRE_CONFIG_ACTIONS:
|
||||
try:
|
||||
return PRE_CONFIG_ACTIONS[args.command](args)
|
||||
|
|
Loading…
Reference in a new issue