diff options
author | Jesús <heckyel@hyperbola.info> | 2019-04-04 21:32:59 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-04-04 21:32:59 -0500 |
commit | 2002182017464c6effa18db2d776421b380d89b1 (patch) | |
tree | 0f0892c8c0c4f6dedee03e7072bbbeb064890f96 | |
parent | 27d34e7d4990cc625e68dc4b8ada84146093b134 (diff) | |
download | srt2vtt-2002182017464c6effa18db2d776421b380d89b1.tar.lz srt2vtt-2002182017464c6effa18db2d776421b380d89b1.tar.xz srt2vtt-2002182017464c6effa18db2d776421b380d89b1.zip |
fix generate VTT file
-rw-r--r-- | srt2vtt.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ for file in os.listdir('.'): print('processing: %s' % file), infile = open(file) outfile = open(file.replace('.srt', '.vtt'), 'w') - outfile.write('WEBVTT') + outfile.write('WEBVTT' + '\n' + '\n') for line in infile: # line=line.strip() |