Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org 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 computing-help@igwn.org.

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):
@staticmethod
def guess_mimetype(filename):
TEXT_EXTENSIONS = ['.log']
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