This commit is contained in:
parent
abe01828ab
commit
9c2c6dac78
1
app.py
1
app.py
|
|
@ -197,6 +197,7 @@ def calculate_statistics():
|
||||||
# Count emails that are neither "cold lead" nor "disqualified lead"
|
# Count emails that are neither "cold lead" nor "disqualified lead"
|
||||||
else:
|
else:
|
||||||
other_lead_count += 1
|
other_lead_count += 1
|
||||||
|
print("Other Lead Found:", email) # Print statement for each "other lead"
|
||||||
# Check if there is a promotion history
|
# Check if there is a promotion history
|
||||||
promotion_history = email.get('promotion history', [])
|
promotion_history = email.get('promotion history', [])
|
||||||
if not promotion_history: # If promotion history is empty or nonexistent
|
if not promotion_history: # If promotion history is empty or nonexistent
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue