Skip to content

Commit 741a57c

Browse files
committed
Accept --preferred-challenges "dns-01, http-01"
1 parent a18a8f0 commit 741a57c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

certbot/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ class _PrefChallAction(argparse.Action):
10481048
"""Action class for parsing preferred challenges."""
10491049

10501050
def __call__(self, parser, namespace, pref_challs, option_string=None):
1051-
challs = pref_challs.split(",")
1051+
challs = [c.strip() for c in pref_challs.split(",")]
10521052
unrecognized = ", ".join(name for name in challs
10531053
if name not in challenges.Challenge.TYPES)
10541054
if unrecognized:

0 commit comments

Comments
 (0)