1
0
mirror of https://github.com/moepman/acertmgr.git synced 2024-11-14 06:55:29 +01:00

Ingore whitespace in output format definitions.

This commit is contained in:
Markus 2016-07-04 19:55:17 +02:00
parent 35d9d39b26
commit 60172b7e6e

View File

@ -131,6 +131,7 @@ def cert_put(domain, settings):
crt_perm = settings['perm'] crt_perm = settings['perm']
crt_path = settings['path'] crt_path = settings['path']
crt_format = settings['format'].split(",") crt_format = settings['format'].split(",")
crt_format = [str.strip(x) for x in crt_format]
crt_action = settings['action'] crt_action = settings['action']
key_file = settings['server_key'] key_file = settings['server_key']