[Speedgrader] Add .py text files as an allowable file format in Speedgrader

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

4 Comments
RaviKoll
Instructure
Instructure
Status changed to: Added to Theme
 
nathanatkinson
Community Team
Community Team
Status changed to: New
 
nathanatkinson
Community Team
Community Team
Status changed to: New
 
nathanatkinson
Community Team
Community Team
Status changed to: Open