From 21be04a332505410b501a541932c9a450039268c Mon Sep 17 00:00:00 2001 From: BLooperZ Date: Fri, 8 Nov 2019 13:33:28 +0200 Subject: TOON: remove assertion and unused import --- devtools/create_toon/subtitles/pakdir.py | 1 - devtools/create_toon/subtitles/submaker.py | 1 - 2 files changed, 2 deletions(-) (limited to 'devtools') 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: ''' -import io import sys from datetime import datetime -- cgit v1.2.3