From: David Stainton Date: Tue, 23 Jun 2015 18:32:47 +0000 (-0700) Subject: Clean up join tahoe config append X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/legal.html?a=commitdiff_plain;h=14603bce7cc9f7151b7eaced320af5d2b80a0e6e;p=tahoe-lafs%2Ftahoe-lafs.git Clean up join tahoe config append --- diff --git a/src/allmydata/scripts/magic_folder_cli.py b/src/allmydata/scripts/magic_folder_cli.py index 08af3e25..127e431b 100644 --- a/src/allmydata/scripts/magic_folder_cli.py +++ b/src/allmydata/scripts/magic_folder_cli.py @@ -157,7 +157,7 @@ def join(options): fileutil.write(collective_readcap_file, magic_readonly_cap) c = open(os.path.join(options["node-directory"], "tahoe.cfg"), "a") - c.write("[magic_folder]\nenabled = True\n[magic_folder]\nlocal.directory = %s\n" % (options.local_dir,)) + c.write("[magic_folder]\nenabled = True\nlocal.directory = %s\n" % (options.local_dir,)) c.close()