mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
Accept --preferred-challenges "dns-01, http-01"
This commit is contained in:
parent
a18a8f051d
commit
741a57c976
1 changed files with 1 additions and 1 deletions
|
|
@ -1048,7 +1048,7 @@ class _PrefChallAction(argparse.Action):
|
|||
"""Action class for parsing preferred challenges."""
|
||||
|
||||
def __call__(self, parser, namespace, pref_challs, option_string=None):
|
||||
challs = pref_challs.split(",")
|
||||
challs = [c.strip() for c in pref_challs.split(",")]
|
||||
unrecognized = ", ".join(name for name in challs
|
||||
if name not in challenges.Challenge.TYPES)
|
||||
if unrecognized:
|
||||
|
|
|
|||
Loading…
Reference in a new issue