Your Name 3 年之前
父节点
当前提交
44f503cc7d
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      hhh/aws-monitor/cl-test.py

+ 2 - 0
hhh/aws-monitor/cl-test.py

@@ -9,6 +9,8 @@ lst=[]
 
 
 while True:
 while True:
     l = cl.stdout.readline()
     l = cl.stdout.readline()
+    if not l:
+        break
     if '"AccessKeyId":' in l:
     if '"AccessKeyId":' in l:
         lst.append(l)
         lst.append(l)