diff --git a/powerdnsadmin/models/record.py b/powerdnsadmin/models/record.py index e0b507c..f8fceff 100644 --- a/powerdnsadmin/models/record.py +++ b/powerdnsadmin/models/record.py @@ -65,6 +65,9 @@ class Record(object): rrsets=[] for r in jdata['rrsets']: + if len(r['records']) == 0: + continue + while len(r['comments'])