Your Name 3 år sedan
förälder
incheckning
b0361a21dc
1 ändrade filer med 3 tillägg och 1 borttagningar
  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:
     if '"EventTime":' in l:
         l2=proc_l(l)
         l2=proc_l(l)
-        l2[12]='"'
+        list1 = list(l2)
+        list1[12]='"'
+        l2 = ''.join(list1)
         l2+='"'
         l2+='"'
         js+=l2
         js+=l2
         js+="}"
         js+="}"