Skip to content

Commit

Permalink
Address rqt_reconfigure crashing with IndexError #92 (#93)
Browse files Browse the repository at this point in the history
Co-authored-by: Rafael Olaechea <[email protected]>
  • Loading branch information
rolaechea and Rafael Olaechea authored Oct 20, 2020
1 parent 4c11436 commit e57e912
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rqt_reconfigure/node_selector_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ def _update_nodetree_pernode(self):
num_nodes = len(nodes)
elapsedtime_overall = 0.0
for node_name_grn in nodes:
# Skip this grn if we already have it
if node_name_grn in self._nodeitems:
# Skip this grn if we already have it or if node_name_grn is empty
if node_name_grn in self._nodeitems or node_name_grn == '':
i_node_curr += 1
continue

Expand Down

0 comments on commit e57e912

Please sign in to comment.