From 171e5e6536ec0faf8f81388075b48afdf9d86e58 Mon Sep 17 00:00:00 2001 From: Joshua Lucas Date: Thu, 29 Oct 2026 17:25:47 -0500 Subject: [PATCH] Update XSY module to integrate with converter framework. --- src/AuDaGe/formats/controlexpert/xsy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AuDaGe/formats/controlexpert/xsy.py b/src/AuDaGe/formats/controlexpert/xsy.py index f5c8d94..747e97b 100644 --- a/src/AuDaGe/formats/controlexpert/xsy.py +++ b/src/AuDaGe/formats/controlexpert/xsy.py @@ -573,7 +573,7 @@ class XSYReader: self.definitions_ss_path = definitions_ss_path self.even_addresses = even_addresses - def read(self, path: Traversable, expand: bool = True) -> XSY: + def read(self, path: Traversable, expand: bool = True) -> XSYBlock: """Read the dataBlock and definitions of an XSY file into an XSY object. """ @@ -591,7 +591,7 @@ class XSYReader: ) if expand: xsy.datablock = xsy.expand_datablock() - return xsy + return xsy.datablock def write(self): """Write XSY object to file."""