From 8ce00824d575dd8df3ce7e4816c2321b3b6a4f47 Mon Sep 17 00:00:00 2001 From: Otthorn Date: Mon, 5 Apr 2021 00:56:22 +0200 Subject: [PATCH] Use correct terminology --- main.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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)