Your Name 3 年之前
父節點
當前提交
b0361a21dc
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      hhh/aws-monitor/cl-test.py

+ 3 - 1
hhh/aws-monitor/cl-test.py

@@ -20,7 +20,9 @@ for l in io.TextIOWrapper(cl.stdout, encoding="utf-8"):
 
     if '"EventTime":' in l:
         l2=proc_l(l)
-        l2[12]='"'
+        list1 = list(l2)
+        list1[12]='"'
+        l2 = ''.join(list1)
         l2+='"'
         js+=l2
         js+="}"