Merge branch 'master' of github.com:mahmoud/boltons

This commit is contained in:
Mahmoud Hashemi 2015-04-09 21:37:20 -07:00
commit 40c4b33555
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