Skip to content

Commit

Permalink
Address rqt_reconfigure crashing with IndexError ros-visualization#92
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Olaechea committed Oct 2, 2020
1 parent 99d529e commit 8f7f087
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 8f7f087

Please sign in to comment.