Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Panaetius committed Jun 29, 2022
1 parent 5152826 commit 358489a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renku/ui/service/controllers/cache_files_upload.py
Expand Up @@ -121,7 +121,7 @@ def process_chunked_upload(self):

with open(target_file_path, "wb") as target_file:
for file_number in range(total_chunks):
with (chunks_dir / str(file_number)).open("r") as chunk:
with (chunks_dir / str(file_number)).open("rb") as chunk:
shutil.copyfileobj(chunk, target_file)

shutil.rmtree(chunks_dir)
Expand Down

0 comments on commit 358489a

Please sign in to comment.