Commit 64b9c4ca authored by Adrien Dorsaz's avatar Adrien Dorsaz

config_factory : remove C# style

Too many languages for me today: HTML, TSQL, C# and now Python 3 :D
parent dfc56771
Pipeline #213 failed with stage
in 10 minutes and 25 seconds
......@@ -33,7 +33,7 @@ def generate_config():
parser["acmednstiny"]["AccountKeyFile"] = account_key.name
parser["acmednstiny"]["CSRFile"] = domain_csr.name
parser["acmednstiny"]["ACMEDirectory"] = ACMEDIRECTORY
if (CONTACT != null
if (CONTACT is not None
and CONTACT != ""):
parser["acmednstiny"]["Contacts"] = "mailto:{0}".format(CONTACT)
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment