SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 3880540a authored by George Katsikas's avatar George Katsikas :goat:
Browse files

change officer removal message to format string

fixes #116 on gitlab
parent 339d9d2d
No related branches found
No related tags found
No related merge requests found
......@@ -639,7 +639,7 @@ def _hx_update_officer(request, stream_id):
# Remove old officer.
else:
remove_perm("can_work_for_stream", prev_officer.user, productionstream)
messages.success(request, "Officer {prev_officer} has been removed.")
messages.success(request, f"Officer {prev_officer} has been removed.")
else:
messages.error(request, "\\n".join(officer_form.errors.values()))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment