LingxinMeng 6 月之前
父节点
当前提交
e50ee76cf3
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/python2/pjibot/pcd-pjibot_guide.py

+ 2 - 2
src/python2/pjibot/pcd-pjibot_guide.py

@@ -9,7 +9,7 @@ import logging
 
 path1 = '/mnt/disk001/dcl_data_process/src/python2/pjibot/'
 path2 = '/mnt/disk001/dcl_data_process/src/python2/pjibot/resource/'
-logging.basicConfig(filename=path1 + 'log/pcd.log', level=logging.INFO,
+logging.basicConfig(filename=path1 + 'log/pcd-pjibot_guide.log', level=logging.INFO,
                     format='%(asctime)s - %(levelname)s - %(message)s')
 
 key1 = 'pjibot/'
@@ -93,7 +93,7 @@ def parse_to_pcd_mp4(merged_bag_file_path, parse_prefix2, local_parse_dir, local
         logging.info("上传点云视频到: %s", oss_csv_object_key3)
     except Exception as e:
         error_bag_list = parse_json_to_string_array(error_bag_json)
-        error_bag_list.append(parse_prefix)
+        error_bag_list.append(parse_prefix2)
         list_to_json_file(error_bag_list, error_bag_json)
         logging.exception("生成点云视频报错: %s" % str(e))