mirror of https://github.com/moepman/acertmgr.git
Fix idna conversion for force-renew (probably broken since the IDNA cleanup)
This commit is contained in:
parent
ef81ea62d1
commit
1a98f86aad
|
@ -231,9 +231,9 @@ def load():
|
||||||
|
|
||||||
# - force-rewew
|
# - force-rewew
|
||||||
if args.force_renew:
|
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:
|
if len(domaintranslation) > 0:
|
||||||
runtimeconfig['force_renew'] = [x for x, _ in domaintranslation]
|
runtimeconfig['force_renew'] = domaintranslation
|
||||||
else:
|
else:
|
||||||
runtimeconfig['force_renew'] = args.force_renew.split(' ')
|
runtimeconfig['force_renew'] = args.force_renew.split(' ')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue