Merge pull request #23 from gissehel/tempofilename_typo
Forgot to change the file_name to file_name_tmp when the destination folder is provided
This commit is contained in:
commit
ef47228add
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ class Mega(object):
|
|||
input_file = requests.get(file_url, stream=True).raw
|
||||
|
||||
if dest_path:
|
||||
output_file = open(dest_path + '/' + file_name, 'wb')
|
||||
output_file = open(dest_path + '/' + file_name_tmp, 'wb')
|
||||
else:
|
||||
output_file = open(file_name_tmp, 'wb')
|
||||
|
||||
|
|
Loading…
Reference in a new issue