Skip to content

Commit

Permalink
Fix issue posborne#45
Browse files Browse the repository at this point in the history
This fixes an issue with unicode characters in the final path name.
  • Loading branch information
mihaerzen authored Sep 1, 2017
1 parent 2ea33a6 commit 9aecd37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion putiosync/download_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def perform_download(self, token):
dest = self.get_destination_directory()
filename = self.get_filename()

final_path = os.path.join(dest, filename)
final_path = os.path.join(dest, filename).encode('utf-8')
download_path = "{}.part".format(final_path)

# ensure the path into which the download is going to be donwloaded exists. We know
Expand Down

0 comments on commit 9aecd37

Please sign in to comment.