Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-ide committed Jun 3, 2024
2 parents 5841ddd + 46f3e3c commit 9b8c3d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp/home/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,8 @@ def download_current():

if isinstance(return_value, str):
# If there was an error, display it as a Flash message.
flash(return_value)
flash(return_value, 'error')
return redirect(get_back_url())
else:
# No error, so just return the 200 status code response object.
return return_value
Expand Down

0 comments on commit 9b8c3d0

Please sign in to comment.