explicit path to tahoe.cfg in creation message

This commit is contained in:
tpltnt 2017-04-07 16:59:17 +02:00
parent 4f1dd95963
commit 63bcc07e27

View File

@ -351,10 +351,10 @@ def create_node(config):
print >>out, "Node created in %s" % quote_local_unicode_path(basedir) print >>out, "Node created in %s" % quote_local_unicode_path(basedir)
if not config.get("introducer", ""): if not config.get("introducer", ""):
print >>out, " Please set [client]introducer.furl= in tahoe.cfg!" print >>out, " Please set [client]introducer.furl= in %s/tahoe.cfg'!" % quote_local_unicode_path(basedir)[:-1]
print >>out, " The node cannot connect to a grid without it." print >>out, " The node cannot connect to a grid without it."
if not config.get("nickname", ""): if not config.get("nickname", ""):
print >>out, " Please set [node]nickname= in tahoe.cfg" print >>out, " Please set [node]nickname= in %s/tahoe.cfg'" % quote_local_unicode_path(basedir)[:-1]
defer.returnValue(0) defer.returnValue(0)
def create_client(config): def create_client(config):