whois/__init__.py
changeset 31 92176112c2d6
parent 29 1ebe960587b1
child 33 8c4c05eb65f4
--- a/whois/__init__.py	Tue Aug 12 12:54:22 2014 +0300
+++ b/whois/__init__.py	Tue Aug 12 15:57:28 2014 +0300
@@ -45,7 +45,7 @@
         # this is an IP address
         return socket.gethostbyaddr(url)[0]
 
-    tlds_path = os.path.join(os.getcwd(), os.path.dirname(__file__), 'tlds.txt')
+    tlds_path = os.path.join(os.getcwd(), os.path.dirname(__file__), 'data', 'tlds.txt')
     suffixes = [
         line.lower().strip()
         for line in open(tlds_path).readlines()