Fix text error when getting getting external IP in route53 (#38100)
This commit is contained in:
parent
6e2025a748
commit
f742875e0d
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue