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:
parent
ef81ea62d1
commit
1a98f86aad
@ -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(' ')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user