letsencrypt: Skip hidden service domains on index

This commit is contained in:
Saúl Ibarra Corretgé authored and Sunil Mohan Adapa committed 2016-02-19 19:55:38 +05:30
1 parent b0b67db35e
commit cec3ced675
1 file changed
+5 -1
+5 -1
View File
@@ -85,7 +85,11 @@ def get_status():
status = actions.superuser_run('letsencrypt', ['get-status'])
status = json.loads(status)
for domains in names.domains.values():
for domain_type, domains in names.domains.items():
# XXX: Remove when Let's Encrypt supports .onion addresses
if domain_type == 'hiddenservice':
continue
for domain in domains:
status['domains'].setdefault(domain, {})