소스 검색

Correct typo.

Joe Clarke 4 년 전
부모
커밋
8c26c9eaed
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      automation/network/diff-route-tables.py

+ 1 - 1
automation/network/diff-route-tables.py

@@ -93,7 +93,7 @@ if __name__ == "__main__":
                     chan.sendall("{}\n".format(command))
                     while not chan.exit_status_ready():
                         time.sleep(pause)
-                        if chan.recv_read():
+                        if chan.recv_ready():
                             output = output + chan.recv(1024).decode("utf-8")
                     while chan.recv_ready():
                         output = output + chan.recv(1024).decode("utf-8")