Skip to content

Commit

Permalink
convert from unicode to string when setting env variable (ros#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonshih authored Sep 28, 2018
1 parent 45c8ecd commit db82e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/roslaunch/src/roslaunch/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def setup_env(node, machine, master_uri, env=None):
if ns[-1] == '/':
ns = ns[:-1]
if ns:
d[rosgraph.ROS_NAMESPACE] = ns
d[rosgraph.ROS_NAMESPACE] = str(ns)
for name, value in node.env_args:
d[str(name)] = str(value)

Expand Down

0 comments on commit db82e14

Please sign in to comment.