diff --git a/main.py b/main.py index 20646cc..21a229d 100644 --- a/main.py +++ b/main.py @@ -245,9 +245,6 @@ zones = api_client.list("dns/zones") records = collections.defaultdict(list) -# zone = zones[0] - - for zone in zones: - for entry in zone: - HANDLERS[entry](zone, records) + for record in zone: + HANDLERS[record](zone, records)