Fix whitespace inconsistencies in delete-record.py

This commit is contained in:
2025-12-28 18:15:21 +01:00
parent f77ade44d5
commit d77801788f

View File

@@ -7,9 +7,9 @@ if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Delete a DNS record in Mail-in-a-Box") parser = argparse.ArgumentParser(description="Delete a DNS record in Mail-in-a-Box")
parser.add_argument("name", type=str, help="The name of the DNS record to delete") parser.add_argument("name", type=str, help="The name of the DNS record to delete")
parser.add_argument("type", type=str, help="The type of the DNS record to delete (e.g., A, CNAME, MX)") parser.add_argument("type", type=str, help="The type of the DNS record to delete (e.g., A, CNAME, MX)")
args = parser.parse_args() args = parser.parse_args()
miab = miab_dns.MailInABox() miab = miab_dns.MailInABox()
response = miab.delete_record(name=args.name, type=args.type) response = miab.delete_record(name=args.name, type=args.type)
if response == "OK": if response == "OK":