mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed SonarQube code smell Replace the unused local variable with '_'.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user