mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-11 19:54:03 +00:00
TOON: remove assertion and unused import
This commit is contained in:
parent
d30ee1df37
commit
21be04a332
@ -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__":
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user