mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 08:09:10 +02:00
Tell the user what kind of conf files were missing domains
This commit is contained in:
@@ -103,8 +103,12 @@ def choose_names(installer):
|
||||
names = get_valid_domains(domains)
|
||||
|
||||
if not names:
|
||||
server = ""
|
||||
if hasattr(installer, "name") and installer.name:
|
||||
server = "{0} ".format(installer.name)
|
||||
server = server[0].upper() + server[1:] # capitalise server name
|
||||
return _choose_names_manually(
|
||||
"No names were found in your configuration files. ")
|
||||
"No names were found in your {0}configuration files. ".format(server))
|
||||
|
||||
code, names = _filter_names(names)
|
||||
if code == display_util.OK and names:
|
||||
|
||||
Reference in New Issue
Block a user