Fix Slovak parser
authorPeter Gonda <peter@pipoline.com>
Mon, 09 Jan 2017 17:39:24 +0100
changeset 118 d024d2328e51
parent 117 32947b10adce
child 120 b4273400685e
Fix Slovak parser
whois/parser.py
--- a/whois/parser.py	Thu Jan 05 17:14:47 2017 +0100
+++ b/whois/parser.py	Mon Jan 09 17:39:24 2017 +0100
@@ -1126,7 +1126,7 @@
         }
 
         def __init__(self, domain, text):
-            if 'NOT FOUND' in text:
+            if 'Not found' in text:
                 raise PywhoisError(text)
             else:
                 WhoisEntry.__init__(self, domain, text, self.regex)