Write strings into bootstrap_servers.list
This commit is contained in:
parent
c70a9b2d82
commit
d2384521b0
2
setup.py
2
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)
|
||||
|
|
Reference in New Issue
Block a user