Maintenance will be performed on,,, and on Tuesday 26 May 2020 starting at approximately 10am CDT. It is expected to take around 30 minutes and will involve a short period of downtime, around 5 minutes, towards the end of the maintenance period. Please address any questions, comments, 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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment