]> git.siccegge.de Git - tooling/letool.git/commitdiff
Add the final dot at the right place
authorChristoph Egger <christoph@christoph-egger.org>
Thu, 27 Oct 2016 22:50:54 +0000 (00:50 +0200)
committerChristoph Egger <christoph@christoph-egger.org>
Thu, 27 Oct 2016 22:50:54 +0000 (00:50 +0200)
bin/addrecord

index cf2c573ae8716a35f1bc73c5aef245df576e0cf5..29e2c7fee7aedabf356022700b8025942e03c4fc 100755 (executable)
@@ -62,7 +62,7 @@ class Addrecord:
             sys.stderr.write("Not a valid ACME challenge record: '%s'\n" % value)
             return 2
 
-        records = [ "{0:<35s}.\tIN\tTXT\t\"{1}\"\n".format("_acme-challenge.%s" % host, value) ]
+        records = [ "{0:<35s}\tIN\tTXT\t\"{1}\"\n".format("_acme-challenge.%s." % host, value) ]
         self._update_records('acme', host, records)
         print("OK")
         return 0