mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 08:28:12 +01:00
Remove outdated version block (#7177)
This commit is contained in:
parent
f737ca6e28
commit
acaec41bb7
1 changed files with 0 additions and 7 deletions
|
@ -972,13 +972,6 @@ def run_esphome(argv):
|
||||||
args.command == "dashboard",
|
args.command == "dashboard",
|
||||||
)
|
)
|
||||||
|
|
||||||
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:
|
if args.command in PRE_CONFIG_ACTIONS:
|
||||||
try:
|
try:
|
||||||
return PRE_CONFIG_ACTIONS[args.command](args)
|
return PRE_CONFIG_ACTIONS[args.command](args)
|
||||||
|
|
Loading…
Reference in a new issue