Commit 1efe0ad9 by Sven Marnach Committed by Jonathan Piacenti

Address final review comments by Braden.

parent 7e4ab4bc
......@@ -50,7 +50,7 @@ function DataExportBlock(runtime, element) {
'A report is available for download.'
));
$statusArea.append($('<p>').text(
'It was created at ' + startTime.toUTCString() +
'It was created at ' + startTime.toString() +
' and took ' + status.last_export_result.generation_time_s.toFixed(1) +
' seconds to finish.'
));
......
"""
This file contains celery tasks for contentstore views
Celery task for CSV student answer export.
"""
import time
......@@ -18,7 +18,7 @@ logger = get_task_logger(__name__)
@task()
def export_data(source_block_id_str, user_id):
"""
Reruns a course in a new celery task.
Exports student answers to all MCQ questions to a CSV file.
"""
start_timestamp = time.time()
......
......@@ -24,7 +24,7 @@ class MockTasksModule(object):
error=None,
report_filename='/file/report.csv',
start_timestamp=time.time(),
generation_time_s = 23.4,
generation_time_s=23.4,
)
else:
async_result.result = 'error'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment