Fix test collection for CMS in python 3. (#21338)

This commit is contained in:
Feanil Patel
2019-08-13 13:54:49 -04:00
committed by GitHub
parent ecb65a4fff
commit 602970ed90
4 changed files with 17 additions and 16 deletions

View File

@@ -624,13 +624,13 @@ class Transcript(object):
"""
Container for transcript methods.
"""
SRT = 'srt'
TXT = 'txt'
SJSON = 'sjson'
SRT = u'srt'
TXT = u'txt'
SJSON = u'sjson'
mime_types = {
SRT: 'application/x-subrip; charset=utf-8',
TXT: 'text/plain; charset=utf-8',
SJSON: 'application/json',
SRT: u'application/x-subrip; charset=utf-8',
TXT: u'text/plain; charset=utf-8',
SJSON: u'application/json',
}
@staticmethod