mirror of
https://github.com/frappe/bench.git
synced 2025-02-02 10:58:24 +00:00
check exclusion expicitly
This commit is contained in:
parent
41e227cff1
commit
14f56d1177
@ -128,8 +128,10 @@ def setup_wildcard_ssl(domain, email, bench_path, exclude_base_domain):
|
|||||||
domain_list.append('*.{0}'.format(domain))
|
domain_list.append('*.{0}'.format(domain))
|
||||||
else:
|
else:
|
||||||
# include base domain based on flag
|
# include base domain based on flag
|
||||||
if not exclude_base_domain:
|
domain_list.append(domain.replace('*.', ''))
|
||||||
domain_list.append(domain.replace('*.', ''))
|
|
||||||
|
if exclude_base_domain:
|
||||||
|
domain_list.remove(domain.replace('*.', ''))
|
||||||
|
|
||||||
return domain_list
|
return domain_list
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user