| branch | leotop/whoispy-fix-python3-error-if-bwith-xxx-i-1463323526280 |
| changeset 90 | f1bcf8940a97 |
| parent 82 | fc40924ac59b |
| child 97 | 44522cd37b07 |
--- a/whois/whois.py Thu Mar 17 15:37:34 2016 +0100 +++ b/whois/whois.py Sun May 15 14:45:28 2016 +0000 @@ -121,7 +121,7 @@ else: nhost = None response = response.decode('utf-8', errors='replace') - if b'with "=xxx"' in response: + if 'with "=xxx"' in response: return self.whois(query, hostname, flags, True) if flags & NICClient.WHOIS_RECURSE and nhost is None: nhost = self.findwhois_server(response, hostname, query)