aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_toon
diff options
context:
space:
mode:
authorBLooperZ2019-11-08 13:33:28 +0200
committerEugene Sandulenko2019-11-18 02:02:14 +0100
commit21be04a332505410b501a541932c9a450039268c (patch)
treefe99d4bb04b5ebcc750f725f73716508f83af901 /devtools/create_toon
parentd30ee1df37c2b0f38768ba452ca1ffae9a3ea628 (diff)
downloadscummvm-rg350-21be04a332505410b501a541932c9a450039268c.tar.gz
scummvm-rg350-21be04a332505410b501a541932c9a450039268c.tar.bz2
scummvm-rg350-21be04a332505410b501a541932c9a450039268c.zip
TOON: remove assertion and unused import
Diffstat (limited to 'devtools/create_toon')
-rw-r--r--devtools/create_toon/subtitles/pakdir.py1
-rw-r--r--devtools/create_toon/subtitles/submaker.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/devtools/create_toon/subtitles/pakdir.py b/devtools/create_toon/subtitles/pakdir.py
index 7e3ad9411b..108465ce06 100644
--- a/devtools/create_toon/subtitles/pakdir.py
+++ b/devtools/create_toon/subtitles/pakdir.py
@@ -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__":
diff --git a/devtools/create_toon/subtitles/submaker.py b/devtools/create_toon/subtitles/submaker.py
index 40a9f9b1c7..177a04e0f1 100644
--- a/devtools/create_toon/subtitles/submaker.py
+++ b/devtools/create_toon/subtitles/submaker.py
@@ -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