fix telegram
This commit is contained in:
@@ -69,7 +69,8 @@ def format_dashboard_response(data: Dict[str, Any], company_name: str = None) ->
|
||||
if grupe_crt:
|
||||
items = [f"{g.get('label', '')} {round(float(g.get('curent', 0))):,}" for g in grupe_crt]
|
||||
total_crt = sum(round(float(g.get('curent', 0))) for g in grupe_crt)
|
||||
text += f"\n _Curent: {' \u00b7 '.join(items)} = {total_crt:,}_\n"
|
||||
sep = ' · '
|
||||
text += f"\n _Curent: {sep.join(items)} = {total_crt:,}_\n"
|
||||
|
||||
return text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user