Fix whitespace inconsistencies in set-record.py

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

View File

@@ -8,9 +8,9 @@ if __name__ == "__main__":
parser.add_argument("name", type=str, help="The name of the DNS record to set") parser.add_argument("name", type=str, help="The name of the DNS record to set")
parser.add_argument("value", type=str, help="The value of the DNS record to set") parser.add_argument("value", type=str, help="The value of the DNS record to set")
parser.add_argument("--type", type=str, default="A", help="The type of the DNS record (default: A)") parser.add_argument("--type", type=str, default="A", help="The type of the DNS record (default: A)")
args = parser.parse_args() args = parser.parse_args()
miab = miab_dns.MailInABox() miab = miab_dns.MailInABox()
response = miab.set_record(name=args.name, value=args.value, type=args.type) response = miab.set_record(name=args.name, value=args.value, type=args.type)
if response == "OK": if response == "OK":