component file sharing: fix used of self.files_path in _retrieveFiles
This commit is contained in:
parent
629901674b
commit
c9b2c1d27d
1 changed files with 1 additions and 1 deletions
|
|
@ -550,7 +550,7 @@ class FileSharing:
|
|||
raise TypeError("a file was expected, type is {type_}".format(
|
||||
type_=found_file['type']))
|
||||
file_hash = found_file["file_hash"]
|
||||
file_path = os.path.join(self.files_path, file_hash)
|
||||
file_path = self.files_path / file_hash
|
||||
file_data["hash_hasher"] = hasher = self._h.getHasher(found_file["hash_algo"])
|
||||
size = file_data["size"] = found_file["size"]
|
||||
file_data["file_hash"] = file_hash
|
||||
|
|
|
|||
Loading…
Reference in a new issue