From 90004b5ff6239d0635cf6029654374002dc034bd Mon Sep 17 00:00:00 2001 From: GauiPower <54937847+GauiPower@users.noreply.github.com> Date: Sat, 5 Oct 2024 21:19:55 +0200 Subject: [PATCH] Add Python 3 support (#296) Co-authored-by: GauiPower --- voicetool/voicetool.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/voicetool/voicetool.py b/voicetool/voicetool.py index 677ae49c..6b00edaa 100644 --- a/voicetool/voicetool.py +++ b/voicetool/voicetool.py @@ -1,4 +1,4 @@ -#/bin/env python +#/bin/env python3 # # compile and decompile Anyka/Chomptech firmware voice files # @@ -30,7 +30,7 @@ def decompile(infilename, outbasename, force=False, quiet=False): # the number of contained offsets data = infile.read(4) first_offset = struct.unpack('