mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +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))
|
||||
else:
|
||||
# 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user