We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fc7e69 commit e036817Copy full SHA for e036817
ros/ros_comm/rosmaster/src/rosmaster/paramserver.py
@@ -70,11 +70,11 @@ def __init__(self, reg_manager):
70
71
if "ROS_MASTER_SNAPSHOT" in os.environ:
72
try:
73
+ self.snapshot = True
74
self.snapshot_file = os.path.join(os.environ["ROS_ROOT"], ".master_snapshot")
75
with open(self.snapshot_file, "r") as f:
76
self.parameters = json.loads(f.read())
77
del self.parameters["run_id"]
- self.snapshot = True
78
except IOError:
79
pass
80
except KeyError:
0 commit comments