Skip to content

Commit

Permalink
syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhiramoto committed Jan 23, 2024
1 parent 574fb80 commit 4d93c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/apiv2/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1944,7 +1944,7 @@ def cuckoo_status(request):
tasks_dict_with_counts = db.get_tasks_status_count()
total_sum = 0
if isinstance(tasks_dict_with_counts, dict):
total_sum = sum(tasks_dict_with_counts.values()
total_sum = sum(tasks_dict_with_counts.values())
resp["data"] = dict(
version=CUCKOO_VERSION,
hostname=socket.gethostname(),
Expand Down

0 comments on commit 4d93c0f

Please sign in to comment.