diff --git a/jsk_rqt_plugins/src/jsk_rqt_plugins/tabbed_button_general.py b/jsk_rqt_plugins/src/jsk_rqt_plugins/tabbed_button_general.py index 0dbf8662..f5a34e82 100644 --- a/jsk_rqt_plugins/src/jsk_rqt_plugins/tabbed_button_general.py +++ b/jsk_rqt_plugins/src/jsk_rqt_plugins/tabbed_button_general.py @@ -162,7 +162,7 @@ def __init__(self, settings): resolved_yaml = resolved_yaml[len("file://"):] with open(resolved_yaml) as f: - yaml_data = yaml.load(f) + yaml_data = yaml.safe_load(f) self.setupButtons_with_yaml_data(yaml_data=yaml_data, namespace=namespace) self.show()