]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Clean up join tahoe config append
authorDavid Stainton <dstainton415@gmail.com>
Tue, 23 Jun 2015 18:32:47 +0000 (11:32 -0700)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 15 Sep 2015 16:55:59 +0000 (17:55 +0100)
src/allmydata/scripts/magic_folder_cli.py

index 08af3e2588f44a9fb297ff3f4cb5d975bd6ca132..127e431b44c2d8b283e1b24dbc3911764a3cdb16 100644 (file)
@@ -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()