Skip to content

Commit

Permalink
fix first 1 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy201602 committed Dec 4, 2017
1 parent c4b53ba commit dee0091
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webterminal/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ def run(self):
elif isinstance(data,(int,long)):
if data == 1 and first_flag:
first_flag = False
else:
self.chan.send(str(data))
else:
try:
self.chan.send(str(data))
Expand Down

0 comments on commit dee0091

Please sign in to comment.