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
1 changed files with 2 additions and 2 deletions

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(' ')