core (memory): fixed _getParentDir call in setFile
This commit is contained in:
parent
0d8938f92f
commit
c1dc9d4599
1 changed files with 1 additions and 1 deletions
|
|
@ -1281,7 +1281,7 @@ class Memory(object):
|
|||
if peer_jid is None:
|
||||
peer_jid = owner
|
||||
# _getParentDir will check permissions if peer_jid is set
|
||||
parent, remaining_path_elts = self._getParentDir(client, path, parent, namespace, owner, owner, perms_to_check)
|
||||
parent, remaining_path_elts = yield self._getParentDir(client, path, parent, namespace, owner, owner, perms_to_check)
|
||||
# if remaining directories don't exist, we have to create them
|
||||
for new_dir in remaining_path_elts:
|
||||
new_dir_id = shortuuid.uuid()
|
||||
|
|
|
|||
Loading…
Reference in a new issue