Handle domains with no history on domain_list
This commit is contained in:
parent
af58391164
commit
c32633ba09
@ -15,7 +15,7 @@ class Domain:
|
||||
self.domain = domain
|
||||
self.group = group
|
||||
if zone_history_are_ids:
|
||||
self.zone_history = [UncompleteZoneMeta(self, zid) for zid in zone_history]
|
||||
self.zone_history = [UncompleteZoneMeta(self, zid) for zid in zone_history] if zone_history is not None else []
|
||||
else:
|
||||
self.zone_history = zone_history if zone_history is not None else []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user