Fix invalid part_path usage in fileutils

This commit is contained in:
Fahrzin Hemmati 2015-04-09 18:31:32 -07:00
parent e5b7582178
commit 5e97bd615d
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ class AtomicSaver(object):
if not self.part_filename:
self.part_path = dest_path + '.part'
else:
self.part_path = os.path.join(self.dest_dir, self.part_path)
self.part_path = os.path.join(self.dest_dir, self.part_filename)
self.mode = 'w+' if self.text_mode else 'w+b'
self.part_file = None