diff --git a/app/views/task/task_pdf.pdf.erb b/app/views/task/task_pdf.pdf.erb index 53c679d2d..c4cf933ab 100644 --- a/app/views/task/task_pdf.pdf.erb +++ b/app/views/task/task_pdf.pdf.erb @@ -112,7 +112,8 @@ No Tutor % Supervisor's Name <% if file[:type] == 'code' if (File.extname(file[:path])[1..-1]) != 'ipynb' - # for code files (except Jupyter Notebook), always use files with a WRAPPED- prefix in the filename + # for code files (except Jupyter Notebook), always use files with the .tmp suffix + # if the file has not been modified, it will be a symlink instead # Jupyter Notebooks are not processed with line wraps dir = File.dirname(file[:path]) name = File.basename(file[:path])