Skip to content

Commit

Permalink
Display round name next to the fund name on a text file (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramsharma-prog committed Mar 4, 2024
1 parent 2a524dc commit 3c0c8d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/blueprints/assessments/models/file_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ class ApplicationFileRepresentationArgs(NamedTuple):


def _generate_text_of_application(args: ApplicationFileRepresentationArgs):
text = generate_text_of_application(args.question_to_answer, args.fund.name)
fund_round_name = f"{args.fund.name} {args.round.title}"
text = generate_text_of_application(args.question_to_answer, fund_round_name)
return download_file(text, "text/plain", f"{args.short_id}_answers.txt")


Expand Down

0 comments on commit 3c0c8d3

Please sign in to comment.