Permalink
Browse files

Modify select pop stdin

#283  More see this issue
  • Loading branch information...
1 parent 0ed4b84 commit 8f666785d29cff32d058f4cea220582afc847fc1 @ibuler ibuler committed on GitHub Sep 5, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 run_server.py
View
@@ -416,7 +416,7 @@ def forward_outbound(self):
data = ''
pre_timestamp = time.time()
while True:
- r, w, e = select.select([self.channel, sys.stdin], [], [])
+ r, w, e = select.select([self.channel], [], [])
if self.channel in r:
recv = self.channel.recv(1024)
if not len(recv):

0 comments on commit 8f66678

Please sign in to comment.