Skip to content

Commit 5a262f1

Browse files
author
Tommy Beadle
committed
Fix bug when download_file returns success.
1 parent 432ca07 commit 5a262f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/cuckoo/common/web_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,10 +1325,10 @@ def thirdpart_aux(samples, prefix, opt_filename, details, settings):
13251325
details["content"] = content
13261326

13271327
if not details.get("content", False):
1328-
status, task_ids_tmp = download_file(**details)
1328+
status, task_ids_tmp, *_ = download_file(**details)
13291329
else:
13301330
details["service"] = "Local"
1331-
status, task_ids_tmp = download_file(**details)
1331+
status, task_ids_tmp, *_ = download_file(**details)
13321332
if status == "error":
13331333
details["errors"].append({h: task_ids_tmp})
13341334
else:

0 commit comments

Comments
 (0)