瀏覽代碼

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")