]> git.siccegge.de Git - tooling/letool.git/blobdiff - bin/addrecord
Add the final dot at the right place
[tooling/letool.git] / bin / addrecord
old mode 100644 (file)
new mode 100755 (executable)
index cf2c573..29e2c7f
@@ -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