Fixed SonarQube code smell Replace the unused local variable with '_'.

This commit is contained in:
Akshay Joshi
2024-01-24 18:33:43 +05:30
parent 47aa070cc3
commit 0e0cbc40b8
76 changed files with 4983 additions and 4998 deletions

View File

@@ -459,7 +459,7 @@ def dashboard_stats(sid=None, did=None):
"/".join([g.template_path, 'dashboard_stats.sql']), did=did,
chart_names=chart_names,
)
status, res = g.conn.execute_dict(sql)
_, res = g.conn.execute_dict(sql)
for chart_row in res['rows']:
resp_data[chart_row['chart_name']] = json.loads(