whois/parser.py
branchwhois_in
changeset 138 f8c4b2f6355b
parent 137 565c0268bc39
child 141 ec0994c0a2a0
--- a/whois/parser.py	Thu Nov 30 10:54:42 2017 +0100
+++ b/whois/parser.py	Thu Nov 30 11:00:43 2017 +0100
@@ -1292,7 +1292,7 @@
     }
 
     def __init__(self, domain, text):
-        if 'No entries found' in text:
+        if 'NOT FOUND' in text:
             raise PywhoisError(text)
         else:
             WhoisEntry.__init__(self, domain, text, self.regex)