ensuring that "3" is set as an integer instead of a string

This commit is contained in:
csine-nflx 2020-02-04 18:23:17 -08:00
parent 8ea54d7db2
commit bcdb3173bd
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ def wait_for_dns_change(change_id, account_number=None):
"""
_check_conf()
domain, token = change_id
number_of_attempts = current_app.config.get("ACME_POWERDNS_RETRIES", "3")
number_of_attempts = current_app.config.get("ACME_POWERDNS_RETRIES", 3)
zone_name = _get_zone_name(domain, account_number)
nameserver = dnsutil.get_authoritative_nameserver(zone_name)
record_found = False