Kaynağa Gözat

Correct typo.

Joe Clarke 4 yıl önce
ebeveyn
işleme
8c26c9eaed
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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")