diff -r 5cd71f1dc42b -r 52ce01013731 whois/whois.py --- a/whois/whois.py Fri Oct 03 16:40:07 2014 +0200 +++ b/whois/whois.py Mon Nov 10 13:42:37 2014 +0200 @@ -206,6 +206,8 @@ nichost = self.choose_server(query_arg) if (nichost is not None): result = self.whois(query_arg, nichost, flags) + else: + result = '' else: result = self.whois(query_arg, options['whoishost'], flags) # print 'whois_lookup finished'