修改bug

pull/6/head
ibuler 2014-12-31 23:02:03 +08:00
parent 73da287c6c
commit 2eaf6d7d81
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ def verify_connect(username, part_ip):
elif len(ip_matched) < 1: elif len(ip_matched) < 1:
color_print('No Permission or No host.', 'red') color_print('No Permission or No host.', 'red')
else: else:
login_type, username, password, host, port = get_connect_item(username, ip_matched[0]) username, password, host, port = get_connect_item(username, ip_matched[0])
connect(username, password, host, port, LOGIN_NAME) connect(username, password, host, port, LOGIN_NAME)