Merge remote-tracking branch 'origin/master' into 3511.config-set-config

This commit is contained in:
Jean-Paul Calderone
2020-11-26 11:01:18 -05:00
45 changed files with 620 additions and 954 deletions

View File

@ -260,7 +260,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(FilePath(config_path), config)
created_d.addCallback(created)