Skip to content

Commit 0a0047e

Browse files
authored
fix: handling of processor type in granite-io (#986)
Signed-off-by: Louis Mandel <[email protected]>
1 parent a30ad20 commit 0a0047e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pdl/pdl_granite_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def processor_of_block(block: GraniteioModelBlock):
5555
if processor.type is None:
5656
processor_type = model
5757
else:
58-
processor_type = value_of_expr(processor)
58+
processor_type = value_of_expr(processor.type)
5959

6060
assert isinstance(
6161
processor_type, str

0 commit comments

Comments
 (0)