From c686c944c563a6dc847082bbf2aa8236244688ca Mon Sep 17 00:00:00 2001 From: vg Date: Tue, 23 Jul 2019 16:41:21 +0200 Subject: fix ttl argument handling --- acme_dns_tiny.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme_dns_tiny.py b/acme_dns_tiny.py index cf7d636..2be4d73 100644 --- a/acme_dns_tiny.py +++ b/acme_dns_tiny.py @@ -288,7 +288,7 @@ class ACME: def get_crt(args): - ttl = int(args['--ttl']) or 60 + ttl = int(args['--ttl'] or "60") domains = extract_domains_from_csr(args['--csr']) acme = ACME(account_key_path=args['--account-key']) acme.init_sreqs(args['--acme-directory'] or ACME_DEFAULT_DIRECTORY) -- cgit v1.2.3