mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 21:17:54 +00:00
introduce create_node_dir
This commit is contained in:
parent
3db594eee7
commit
eab56276e5
@ -191,7 +191,9 @@ def create_client(basedir=u".", _client_factory=None):
|
||||
`_client_factory` returns)
|
||||
"""
|
||||
node.create_node_dir(basedir, CLIENT_README)
|
||||
config = read_config(basedir, u"client.port")
|
||||
|
||||
# load configuration
|
||||
config = read_config(basedir, u"client.port", _valid_config_sections=_valid_config_sections)
|
||||
|
||||
if _client_factory is None:
|
||||
_client_factory = _Client
|
||||
|
Loading…
Reference in New Issue
Block a user