Update manage.py
This commit is contained in:
parent
d10d2724df
commit
f1e19e767f
1 changed files with 2 additions and 1 deletions
|
@ -555,7 +555,8 @@ def app_domain_delete(app_id, domains):
|
|||
myLogger.info_logger(proxy)
|
||||
domains_old = proxy["domain_names"]
|
||||
for domain in domains:
|
||||
domains_old.remove(domain)
|
||||
if domain in domains_old:
|
||||
domains_old.remove(domain)
|
||||
if len(domains_old) == 0:
|
||||
proxy_id = proxy["id"]
|
||||
token = get_token()
|
||||
|
|
Loading…
Add table
Reference in a new issue