Skip to content
Snippets Groups Projects
Commit ce8bd806 authored by Gjorgji's avatar Gjorgji
Browse files

Wording change

parent 5318ee31
No related branches found
No related tags found
No related merge requests found
...@@ -184,7 +184,7 @@ def create_recommendation_text(kpi, amount_changed, caused_by, step_size): ...@@ -184,7 +184,7 @@ def create_recommendation_text(kpi, amount_changed, caused_by, step_size):
return "" return ""
if 'co2' in caused_by.replace(' ', '').lower() and 'co2' in kpi.replace(' ', '').lower(): if 'co2' in caused_by.replace(' ', '').lower() and 'co2' in kpi.replace(' ', '').lower():
return "" return ""
return f'In order to improve the KPI of {kpi} by {int(amount_changed)*10}%, {caused_by} should be improved by {step_size*10}%.\n' return f'In order to change the KPI of {kpi} by {int(amount_changed)*10}%, {caused_by} should be improved by {step_size*10}%.\n'
@app.route("/dss/get_specific_recommendation", methods=["GET"]) @app.route("/dss/get_specific_recommendation", methods=["GET"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment