mirror of
https://github.com/esphome/esphome.git
synced 2024-11-29 12:55:46 +01:00
Remove outdated version block (#7177)
This commit is contained in:
parent
f737ca6e28
commit
acaec41bb7
@ -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 New Issue
Block a user