mirror of
https://github.com/esphome/esphome.git
synced 2025-09-17 02:32:20 +01:00
preen
This commit is contained in:
@@ -317,7 +317,7 @@ def run_ota_impl_(
|
|||||||
try:
|
try:
|
||||||
# Resolve all hosts at once for parallel DNS resolution
|
# Resolve all hosts at once for parallel DNS resolution
|
||||||
res = resolve_ip_address(
|
res = resolve_ip_address(
|
||||||
remote_host, remote_port, address_cache=getattr(CORE, "address_cache", None)
|
remote_host, remote_port, address_cache=CORE.address_cache
|
||||||
)
|
)
|
||||||
except EsphomeError as err:
|
except EsphomeError as err:
|
||||||
_LOGGER.error(
|
_LOGGER.error(
|
||||||
|
Reference in New Issue
Block a user