Fix url unbound bug

main
Micke Nordin 2 weeks ago
parent a4dd0912fc
commit cd32772689

@ -486,7 +486,7 @@ def main() -> int:
soa_url = setup_url(baseurl, None, None, zname, "SOA", None, args.zone) soa_url = setup_url(baseurl, None, None, zname, "SOA", None, args.zone)
soa_json = run_list(soa_url, True, headers, ret=True) soa_json = run_list(soa_url, True, headers, ret=True)
ttl = soa_json[0]["ttl"] ttl = soa_json[0]["ttl"]
elif args.command in ["auditlog", "changelog"]: if args.command in ["auditlog", "changelog"]:
pass pass
else: else:
try: try:

Loading…
Cancel
Save