diff --git a/tools/ghidra_scripts/lego_util/type_importer.py b/tools/ghidra_scripts/lego_util/type_importer.py index 0c413e4a..0d3ee5df 100644 --- a/tools/ghidra_scripts/lego_util/type_importer.py +++ b/tools/ghidra_scripts/lego_util/type_importer.py @@ -153,7 +153,7 @@ def _import_union(self, type_pdb: dict[str, Any]) -> DataType: union_type = get_ghidra_type(self.api, type_pdb["name"]) assert ( union_type.getLength() == type_pdb["size"] - ), f"Wrong size of existing union type '{type_pdb['name']}': expected {type_pdb["size"]}, got {union_type.getLength()}" + ), f"Wrong size of existing union type '{type_pdb['name']}': expected {type_pdb['size']}, got {union_type.getLength()}" return union_type except TypeNotFoundInGhidraError as e: # We have so few instances, it is not worth implementing this