[Speedgrader] Add .py text files as an allowable file format in Speedgrader
Status:
Added to Theme
Submitted by
BarryLennon
on
10-03-2023
01:32 PM
Problem statement:
Hi Canvas support. Currently Python .py text files are not functioning properly when submitted on Speedgrader.
Proposed solution:
.py files don’t need to be converted to plain text as they already are plain text. It’s simply a cosmetic difference in file name extension. So if SpeedGrader already knows how to display .txt correctly, then the fix is one line of code. somewhere deep in the SpeedGrader guts… if file_extension== “.txt” // do whatever is needed to render text files in preview needs to become if file_extension ==”.txt” or file_extension == “.py” // do whatever is needed to render text files in preview
User role(s):
admin,instructor
Added to Theme
Enhance assignment rules and functionality Theme Status: Identified
1 Comment