DawnC commited on
Commit
e5c4352
1 Parent(s): 6778ccb

Update recommendation_html_format.py

Browse files
Files changed (1) hide show
  1. recommendation_html_format.py +1 -1
recommendation_html_format.py CHANGED
@@ -161,7 +161,7 @@ def format_recommendation_html(recommendations: List[Dict], is_description_searc
161
  try:
162
  lifespan = info.get('Lifespan', '10-12 years')
163
  years = int(lifespan.split('-')[0])
164
- if years > 12:
165
  bonus_reasons.append("Above-average lifespan")
166
  except:
167
  pass
 
161
  try:
162
  lifespan = info.get('Lifespan', '10-12 years')
163
  years = int(lifespan.split('-')[0])
164
+ if years >= 12:
165
  bonus_reasons.append("Above-average lifespan")
166
  except:
167
  pass