From 14603bce7cc9f7151b7eaced320af5d2b80a0e6e Mon Sep 17 00:00:00 2001 From: David Stainton Date: Tue, 23 Jun 2015 11:32:47 -0700 Subject: [PATCH] Clean up join tahoe config append --- src/allmydata/scripts/magic_folder_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.45.2