diff options
-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() |