Maintenance will be performed on,,, and on Tuesday 22nd September 2020 starting at approximately 9am MST.It is expected to take around 15 minutes and there will be a short period of downtime towards the end of the maintenance window. Please address any comments, questions, or concerns to

Commit d6ea58dd authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB

Add .out to custom extensions which use text mimetype

parent 1396570f
......@@ -225,7 +225,7 @@ class VersionedFile(file):
def guess_mimetype(filename):
TEXT_EXTENSIONS = ['.log', '.out']
filename = VersionedFile.basename(filename)
content_type, encoding = mimetypes.guess_type(filename)
if content_type is None and '.' in filename:
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