Skip to content

Commit

Permalink
plot bodyfile chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Davide Arcuri committed Aug 6, 2024
1 parent 9cb16a0 commit b8e506b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions orochi/website/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,9 @@ def analysis(request):
Path(res.dump.upload.path).parent
/ "timeliner.Timeliner/volatility.body"
)
bodyfile = bodyfile_path if bodyfile_path.exists() else None
bodyfile_chart = clean_bodywork(bodyfile_path)
if bodyfile_path.exists():
bodyfile = bodyfile_path
bodyfile_chart = clean_bodywork(bodyfile_path)

return render(
request,
Expand Down

0 comments on commit b8e506b

Please sign in to comment.