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/?a=commitdiff_plain;h=f94f1880e38e73235e34e8cbb201da8b31409a61;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()