summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2019-07-23 16:41:21 +0200
committervg <vgm+dev@devys.org>2019-07-23 16:41:21 +0200
commitc686c944c563a6dc847082bbf2aa8236244688ca (patch)
tree55c91bb4cc6be647e51d38bc5ef61be88dce1f15
parent17e9e9bf444abd67c1b57588136fc3358374ff2c (diff)
downloadacme-dns-tiny-c686c944c563a6dc847082bbf2aa8236244688ca.tar.gz
acme-dns-tiny-c686c944c563a6dc847082bbf2aa8236244688ca.tar.bz2
acme-dns-tiny-c686c944c563a6dc847082bbf2aa8236244688ca.zip
fix ttl argument handling
-rw-r--r--acme_dns_tiny.py2
1 files changed, 1 insertions, 1 deletions
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)