introduce create_node_dir

This commit is contained in:
meejah 2018-02-27 15:00:31 -07:00
parent 3db594eee7
commit eab56276e5

View File

@ -191,7 +191,9 @@ def create_client(basedir=u".", _client_factory=None):
`_client_factory` returns) `_client_factory` returns)
""" """
node.create_node_dir(basedir, CLIENT_README) 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: if _client_factory is None:
_client_factory = _Client _client_factory = _Client