Write strings into bootstrap_servers.list

This commit is contained in:
Dmitri Bogomolov 2021-11-29 16:54:14 +02:00
parent c70a9b2d82
commit d2384521b0
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -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)