This commit is contained in:
parent
ec63179832
commit
3811a54242
2
app.py
2
app.py
|
|
@ -45,6 +45,8 @@ def update_customers(index):
|
|||
if 0 <= index < len(customer_data):
|
||||
customer = customer_data[index]
|
||||
for domain, info in customer.items():
|
||||
print(f"..........domain={domain}")
|
||||
print(f"..........info={info}")
|
||||
if 'customer_industry' in info:
|
||||
info['customer_industry'] = updated_data.get(f'{domain}_industry', [info['customer_industry']])[0]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue