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