From d2384521b09a474d81a19ad481a926215f194292 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Mon, 29 Nov 2021 16:54:14 +0200 Subject: [PATCH] Write strings into bootstrap_servers.list --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)