From: Daira Hopwood <daira@jacaranda.org>
Date: Fri, 2 Oct 2015 21:08:54 +0000 (+0100)
Subject: Correct a string-type error.
X-Git-Url: https://git.rkrishnan.org/simplejson/components/com_hotproperty/?a=commitdiff_plain;h=0ec0964e397b147af3d0360cc60f14437ee20c4a;p=tahoe-lafs%2Ftahoe-lafs.git

Correct a string-type error.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
---

diff --git a/src/allmydata/scripts/magic_folder_cli.py b/src/allmydata/scripts/magic_folder_cli.py
index 1cf20c97..14ba2ca6 100644
--- a/src/allmydata/scripts/magic_folder_cli.py
+++ b/src/allmydata/scripts/magic_folder_cli.py
@@ -107,7 +107,7 @@ def invite(options):
     # tahoe ln CLIENT_READCAP COLLECTIVE_WRITECAP/NICKNAME
     ln_options = _delegate_options(options, LnOptions())
     ln_options.from_file = dmd_readonly_cap
-    ln_options.to_file = "%s/%s" % (magic_write_cap, options.nickname)
+    ln_options.to_file = u"%s/%s" % (magic_write_cap, options.nickname)
     rc = tahoe_mv.mv(ln_options, mode="link")
     if rc != 0:
         print >>options.stderr, "magic-folder: failed to create link\n"