Skip to content

Commit

Permalink
Merge pull request #1 from guibsonmoura/hotfix/download-file
Browse files Browse the repository at this point in the history
  • Loading branch information
RainbowTabitha authored Jun 6, 2024
2 parents b90f79a + 3c83c18 commit 2b76247
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mega/mega.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,7 @@ def _download_file(self,
file_mac[2] ^ file_mac[3]) != meta_mac:
raise ValueError('Mismatched mac')
output_path = Path(dest_path + file_name)
temp_output_file.close()
shutil.move(temp_output_file.name, output_path)
return output_path

Expand Down

0 comments on commit 2b76247

Please sign in to comment.