Make all the config unicode

This commit is contained in:
Jean-Paul Calderone 2020-11-20 16:04:29 -05:00
parent 45a8351367
commit a06caae667

View File

@ -257,7 +257,12 @@ def _create_node(reactor, request, temp_dir, introducer_furl, flog_gatherer, nam
def created(_):
config_path = join(node_dir, 'tahoe.cfg')
config = get_config(config_path)
set_config(config, 'node', 'log_gatherer.furl', flog_gatherer)
set_config(
config,
u'node',
u'log_gatherer.furl',
flog_gatherer.decode("utf-8"),
)
write_config(config_path, config)
created_d.addCallback(created)