Skip to content

Commit

Permalink
fix: update comment to reflect temp filename changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ublefo committed Apr 27, 2024
1 parent 5ad8376 commit bb930e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/task/task_pdf.pdf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit bb930e4

Please sign in to comment.