Skip to content

Commit

Permalink
fixing resolve_topic_name method (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlautman authored Dec 13, 2018
1 parent 3de2f41 commit d5eb599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rqt_plot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(self, context):
self._widget.windowTitle() + (' (%d)' % context.serial_number()))
context.add_widget(self._widget)

def _resolve_topic_name(script_name, name):
def _resolve_topic_name(self, script_name, name):
"""
Name resolver for scripts.
Expand Down Expand Up @@ -124,7 +124,7 @@ def _parse_args(self, argv):
# 1053: resolve command-line topic names
topics, topic_types = self._node.get_topic_names_and_types()

c_topics = [_resolve_topic_name('rqt_plot', n) for n in c_topics]
c_topics = [self._resolve_topic_name('rqt_plot', n) for n in c_topics]
topic_list.extend(c_topics)

args.topics = topic_list
Expand Down

0 comments on commit d5eb599

Please sign in to comment.