diff options
Diffstat (limited to 'grc/core/generator/Generator.py')
-rw-r--r-- | grc/core/generator/Generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/generator/Generator.py b/grc/core/generator/Generator.py index e3f6bf38c9..637cf9e9df 100644 --- a/grc/core/generator/Generator.py +++ b/grc/core/generator/Generator.py @@ -173,7 +173,7 @@ class TopBlockGenerator(object): # Get the virtual blocks and resolve their connections virtual = [c for c in connections if c.source_block.is_virtual_source()] for connection in virtual: - source = connection.source.resolve_virtual_source() + source = connection.source_port.resolve_virtual_source() sink = connection.sink_port resolved = fg.parent.Connection(flow_graph=fg, porta=source, portb=sink) connections.append(resolved) |