mirror of
https://github.com/elisspace/core.git
synced 2026-09-01 17:04:05 +00:00
Fix text error when getting getting external IP in route53 (#38100)
This commit is contained in:
committed by
Franck Nijhof
parent
7fe5fee124
commit
bf8bfa6321
@@ -84,7 +84,7 @@ def _update_route53(
|
||||
|
||||
# Get the IP Address and build an array of changes
|
||||
try:
|
||||
ipaddress = requests.get("https://api.ipify.org/", timeout=5).text()
|
||||
ipaddress = requests.get("https://api.ipify.org/", timeout=5).text
|
||||
|
||||
except requests.RequestException:
|
||||
_LOGGER.warning("Unable to reach the ipify service")
|
||||
|
||||
Reference in New Issue
Block a user