Fix text error when getting getting external IP in route53 (#38100)

This commit is contained in:
Joakim Sørensen 2020-07-23 08:20:49 +02:00 committed by GitHub
parent 6e2025a748
commit f742875e0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")