This commit is contained in:
Oleg Kalachev
2022-11-04 19:31:17 +06:00
parent 5da20d4ac5
commit ee81586fa5

View File

@@ -24,6 +24,7 @@ www = rospkg.get_ros_home() + '/www'
index_file = None # rospy.get_param('~index_file', None)
default_package = None # rospy.get_param('~default_package', None)
print('roswww_static: putting symlinks to ', www)
shutil.rmtree(www, ignore_errors=True) # reset www directory content
os.mkdir(www)