改名,修改bug

pull/6/head
ibuler 2014-12-24 22:42:47 +08:00
parent ac875d3961
commit 17ef381d7c
1 changed files with 2 additions and 2 deletions

4
jump.py → connect.py Executable file → Normal file
View File

@ -222,7 +222,7 @@ def connect(username, password, host, port):
if __name__ == '__main__':
username = os.getlogin()
login_name = os.getlogin()
print_prompt()
try:
while True:
@ -231,7 +231,7 @@ if __name__ == '__main__':
except EOFError:
continue
if option in ['P', 'p']:
print_user_host(username)
print_user_host(login_name)
continue
elif option in ['E', 'e']:
pass