We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5af6572 commit bc7d103Copy full SHA for bc7d103
test/functional/test_framework/util.py
@@ -236,7 +236,7 @@ def get_auth_cookie(datadir, n):
236
user = None
237
password = None
238
if os.path.isfile(os.path.join(datadir, "bitcoin.conf")):
239
- with open(os.path.join(datadir, "bitcoin.conf"), 'r') as f:
+ with open(os.path.join(datadir, "bitcoin.conf"), 'r', encoding='utf8') as f:
240
for line in f:
241
if line.startswith("rpcuser="):
242
assert user is None # Ensure that there is only one rpcuser line
0 commit comments