From c130cb074818926ef99c7923d8a9d8ba84aa39b3 Mon Sep 17 00:00:00 2001 From: BLooperZ Date: Fri, 8 Nov 2019 13:43:21 +0200 Subject: TOON: ignore extension check --- devtools/create_toon/subtitles/pakdir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devtools') diff --git a/devtools/create_toon/subtitles/pakdir.py b/devtools/create_toon/subtitles/pakdir.py index 108465ce06..9c7b01c431 100644 --- a/devtools/create_toon/subtitles/pakdir.py +++ b/devtools/create_toon/subtitles/pakdir.py @@ -33,7 +33,7 @@ def generate_index(data_files): off += len(fdata) def create_entry(filename): - name, ext = os.path.splitext(os.path.basename(filename)) + name, _ = os.path.splitext(os.path.basename(filename)) return name + '.tss', ''.join(sbv2tss(filename)).encode() if __name__ == "__main__": -- cgit v1.2.3