From dee00910f4e502f293527366913e9feb80d9391a Mon Sep 17 00:00:00 2001 From: Jimmy Date: Mon, 4 Dec 2017 17:41:51 +0800 Subject: [PATCH] fix first 1 bug --- webterminal/interactive.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webterminal/interactive.py b/webterminal/interactive.py index 6ddc62db..76bddc58 100644 --- a/webterminal/interactive.py +++ b/webterminal/interactive.py @@ -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))