From bbc407660df9eb60f237a12f9a82e58becd0cc4f Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 1 Jan 2015 09:15:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connect.py b/connect.py index 25928543b..b14b76928 100755 --- a/connect.py +++ b/connect.py @@ -376,7 +376,7 @@ def exec_cmd_servers(username): inputs = raw_input('\033[1;32mip(s)>: \033[0m') if inputs in ['q', 'Q']: break - get_hosts = get_user_host(username)[0].keys() + get_hosts = get_user_host(username).keys() for host in get_hosts: if fnmatch.fnmatch(host, inputs): hosts.append(host.strip())