File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,8 +149,8 @@ export const pythonFromBlock = function (
149149 break ;
150150 }
151151 code += `CompoundPort(port_type = port.PortType.${ block . portType_ } ,` ;
152- code += `\\ \n${ generator . INDENT } port1 = port.Port (port_type = port.PortType.${ port1Type } , location = ${ ports [ 0 ] } ), ` ;
153- code += `\\ \n${ generator . INDENT } port2 = port.Port (port_type = port.PortType.${ port2Type } , location = ${ ports [ 1 ] } ))` ;
152+ code += `\\ \n${ generator . INDENT } port1 = port.SimplePort (port_type = port.PortType.${ port1Type } , location = ${ ports [ 0 ] } ), ` ;
153+ code += `\\ \n${ generator . INDENT } port2 = port.SimplePort (port_type = port.PortType.${ port2Type } , location = ${ ports [ 1 ] } ))` ;
154154 }
155155
156156 return [ code , Order . ATOMIC ] ;
You can’t perform that action at this time.
0 commit comments