[Tool] correctly set input ptype
This commit is contained in:
parent
385a37e0a2
commit
ad00ade097
1 changed files with 1 additions and 1 deletions
|
|
@ -290,7 +290,7 @@ class BasicTool(Tool, metaclass=ABCMeta):
|
|||
|
||||
gen_straight, sport_in, sport_out = self.straight
|
||||
tree, pat = Library.mktree(SINGLE_USE_PREFIX + 'path')
|
||||
pat.add_port_pair(names=port_names)
|
||||
pat.add_port_pair(names=port_names, ptype=in_ptype)
|
||||
if data.in_transition:
|
||||
ipat, iport_theirs, _iport_ours = data.in_transition
|
||||
pat.plug(ipat, {port_names[1]: iport_theirs})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue