From 1a98f86aad9a18edda5548b09e1d5c9494347563 Mon Sep 17 00:00:00 2001 From: Rudolf Mayerhofer Date: Tue, 28 Mar 2023 22:13:25 +0200 Subject: [PATCH] Fix idna conversion for force-renew (probably broken since the IDNA cleanup) --- acertmgr/configuration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acertmgr/configuration.py b/acertmgr/configuration.py index ca35504..ad3a13d 100644 --- a/acertmgr/configuration.py +++ b/acertmgr/configuration.py @@ -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(' ')