TOON: remove assertion and unused import

This commit is contained in:
BLooperZ 2019-11-08 13:33:28 +02:00 committed by Eugene Sandulenko
parent d30ee1df37
commit 21be04a332
2 changed files with 0 additions and 2 deletions

View File

@ -34,7 +34,6 @@ def generate_index(data_files):
def create_entry(filename):
name, ext = os.path.splitext(os.path.basename(filename))
assert ext.lower() == '.sbv', ext.lower()
return name + '.tss', ''.join(sbv2tss(filename)).encode()
if __name__ == "__main__":

View File

@ -12,7 +12,6 @@ submaker.py INFILE.sbv OUTFILE.tss
Subtitles format:
<start frame> <end frame> <subtitle text>
'''
import io
import sys
from datetime import datetime