Update app/helpers/service_helper.py

Co-authored-by: Owen Helmstetter <84334068+owenhtr@users.noreply.github.com>
This commit is contained in:
brmnjsh 2021-11-23 13:11:05 -05:00 committed by GitHub
parent da17748103
commit 3b320a67a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,10 +49,7 @@ def solution_to_file(buffer, total_form_items, forms):
for form in forms:
row = [form.status]
for result in form.tif_results:
row += [f'value - {result.value}\nresult - {round(result.result, 2)}']
for result in form.tcc_results:
for result in form.tif_results + form.tcc_results:
row += [f'value - {result.value}\nresult - {round(result.result, 2)}']
# provide generated items and cut score