Skip to content

Commit 9800ccd

Browse files
committed
bug fix of stream label
1 parent 512afa7 commit 9800ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

veriloggen/stream/stypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2645,7 +2645,7 @@ def __init__(self, substrm, strm=None):
26452645
self.point = 0
26462646
self.signed = True
26472647

2648-
self.graph_label = 'Substream' if callable(substrm.name) else substrm.name
2648+
self.graph_label = substrm.name if hasattr(substrm, 'name') else 'Substream'
26492649
self.graph_shape = 'box'
26502650
self.graph_peripheries = 2
26512651

0 commit comments

Comments
 (0)