Skip to content

Commit

Permalink
Fix bug, add support for the same IP to be sink and source of a defau…
Browse files Browse the repository at this point in the history
…lt path
  • Loading branch information
Mario Ruiz committed Nov 30, 2021
1 parent 2485099 commit 9941198
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pynq_composable/composable.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ def _default_paths(self):
pii = vv.get('pi')
if (ci is not None and cii is not None and ci in cii) or \
(pi is not None and pii is not None and pi in pii):
c_dict.pop(kk)
if kk in c_dict.items():
c_dict.pop(kk)
v['fullpath'] = kk
c_dict[k] = vv
c_dict[k]['default'] = True
Expand Down

0 comments on commit 9941198

Please sign in to comment.