--- a/setup.py Wed Dec 20 18:15:24 2017 +0000
+++ b/setup.py Tue Jan 23 17:51:04 2018 -0500
@@ -1,7 +1,7 @@
import sys, os
import setuptools
-version = '0.6.7'
+version = '0.6.8'
setuptools.setup(
name='python-whois',
--- a/whois/__init__.py Wed Dec 20 18:15:24 2017 +0000
+++ b/whois/__init__.py Tue Jan 23 17:51:04 2018 -0500
@@ -33,7 +33,7 @@
if command:
# try native whois command
r = subprocess.Popen(['whois', domain], stdout=subprocess.PIPE)
- text = r.stdout.read()
+ text = r.stdout.read().decode()
else:
# try builtin client
nic_client = NICClient()