summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2019-06-17 10:31:09 +0200
committervg <vgm+dev@devys.org>2019-06-17 10:31:09 +0200
commit5da47cd17f91c6264dd450c4a4b1431ddeb8ef2d (patch)
treec4da18769ce9a8b7903bb5f9a96eabefb106b349
parent49e2676d4fffa3fb377002f1f9f30bcac46915cd (diff)
downloadacme-dns-tiny-5da47cd17f91c6264dd450c4a4b1431ddeb8ef2d.tar.gz
acme-dns-tiny-5da47cd17f91c6264dd450c4a4b1431ddeb8ef2d.tar.bz2
acme-dns-tiny-5da47cd17f91c6264dd450c4a4b1431ddeb8ef2d.zip
fix missing ttl string to integer conversion
-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 adeb812..b8400e0 100644
--- a/acme_dns_tiny.py
+++ b/acme_dns_tiny.py
@@ -288,7 +288,7 @@ class ACME:
def get_crt(args):
- ttl = 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)