mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
Don't hardcode the encoded form of "/".
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
dc0145f19f
commit
741eb0d44b
@ -317,7 +317,7 @@ class Uploader(QueueMixin):
|
||||
elif pathinfo.isdir:
|
||||
self._notifier.watch(fp, mask=self.mask, callbacks=[self._notify], recursive=True)
|
||||
uploadable = Data("", self._client.convergence)
|
||||
encoded_name_u += u"@_"
|
||||
encoded_path_u += magicpath.path2magic(u"/")
|
||||
upload_d = self._upload_dirnode.add_file(encoded_path_u, uploadable, metadata={"version":0}, overwrite=True)
|
||||
def _succeeded(ign):
|
||||
self._log("created subdirectory %r" % (relpath_u,))
|
||||
|
Loading…
Reference in New Issue
Block a user