mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:24:35 +02:00
fixing whitespace lint and version incompatibility at once!
This commit is contained in:
@@ -148,7 +148,7 @@ def _check_config_domain_sanity(domains):
|
||||
# Unicode
|
||||
try:
|
||||
for domain in domains:
|
||||
domain.encode('ascii',errors='strict')
|
||||
domain.encode('ascii')
|
||||
except UnicodeDecodeError:
|
||||
raise errors.ConfigurationError(
|
||||
"Internationalized domain names are not supported")
|
||||
|
||||
Reference in New Issue
Block a user