Skip to content

Commit

Permalink
Fixing operator
Browse files Browse the repository at this point in the history
  • Loading branch information
guilbaults committed Oct 4, 2024
1 parent bc45ab1 commit c2fedb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudstats/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def index(request):
gpu_qty = 0

if 'gpu_qty' in all_projects[line['metric']['project_name']]:
all_projects[line['metric']['project_name']]['gpu_qty'] =+ statistics.mean(line['y']) * gpu_qty
all_projects[line['metric']['project_name']]['gpu_qty'] += statistics.mean(line['y']) * gpu_qty
else:
all_projects[line['metric']['project_name']]['gpu_qty'] = statistics.mean(line['y']) * gpu_qty

Expand Down

0 comments on commit c2fedb6

Please sign in to comment.