1
0
mirror of https://github.com/moepman/acertmgr.git synced 2024-11-16 02:59:13 +01:00

Fix idna conversion for force-renew (probably broken since the IDNA cleanup)

This commit is contained in:
Rudolf Mayerhofer 2023-03-28 22:13:25 +02:00 committed by Markus Hauschild
parent ef81ea62d1
commit 1a98f86aad

View File

@ -231,9 +231,9 @@ def load():
# - force-rewew
if args.force_renew:
domaintranslation = idna_convert(args.force_renew.split(' '))
domaintranslation = [idna_convert(d) for d in args.force_renew.split(' ')]
if len(domaintranslation) > 0:
runtimeconfig['force_renew'] = [x for x, _ in domaintranslation]
runtimeconfig['force_renew'] = domaintranslation
else:
runtimeconfig['force_renew'] = args.force_renew.split(' ')