From 30d9100d9b991da084bc8d75bf27ea60f9142c58 Mon Sep 17 00:00:00 2001 From: hadware Date: Tue, 26 May 2020 18:56:38 +0200 Subject: [PATCH] forgot to parse replacement diphones. woops. --- db_reader.py | 66 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 41 insertions(+), 25 deletions(-) diff --git a/db_reader.py b/db_reader.py index 7a7f4f0..891cbb3 100644 --- a/db_reader.py +++ b/db_reader.py @@ -1,4 +1,5 @@ import argparse +import struct from dataclasses import dataclass, field from io import SEEK_SET from pathlib import Path @@ -20,10 +21,10 @@ def read_str(io: BinaryIO): output_str = "" while True: char = unpack_from("