diff --git a/setup.py b/setup.py index a62c4bcf..984f73e6 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ class SdistCmd(sdist): except ImportError: pass else: - with open('src/network/bootstrap_servers.list', 'wb') as dst: + with open('src/network/bootstrap_servers.list', 'w') as dst: for peer in enumerate_bootstrap_servers(): dst.write('{0}, {1}\n'.format(*peer)) return sdist.run(self)