Skip to content

Commit

Permalink
Fix TypeError on the status page when viewing URL submissions
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-feather committed Nov 21, 2024
1 parent 589c657 commit ac20ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/submission/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ def status(request, task_id):
"status": status,
"task_id": task_id,
"session_data": "",
"target": task.sample.sha256 if task.sample.sha256 else task.target,
"target": task.sample.sha256 if getattr(task, "sample") else task.target,
}
if settings.REMOTE_SESSION:
machine = db.view_machine_by_label(task.machine)
Expand Down

0 comments on commit ac20ac1

Please sign in to comment.