Skip to content

Commit

Permalink
Merge pull request #274 from robotics-in-concert/load_param_patch
Browse files Browse the repository at this point in the history
Patch load_parameter in service manager util
  • Loading branch information
jihoonl committed Feb 27, 2015
2 parents febe05e + 28abbe5 commit 9d95e2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def load_parameter(key, value, namespace, name, load):
if load:
try:
rospy.set_param(param_name, eval(value))
except (NameError, TypeError):
except (NameError, TypeError, SyntaxError):
rospy.set_param(param_name, value)
else:
rospy.delete_param(param_name)

0 comments on commit 9d95e2a

Please sign in to comment.