parent
676c2374a3
commit
b44d96be4d
|
@ -679,8 +679,7 @@ class FileBuffer(Buffer):
|
||||||
else:
|
else:
|
||||||
self.store_checksum(data)
|
self.store_checksum(data)
|
||||||
self.modified = False
|
self.modified = False
|
||||||
finally:
|
if exists: os.unlink(temp_path)
|
||||||
if exists: os.unlink(temp_path)
|
|
||||||
def save_as(self, path):
|
def save_as(self, path):
|
||||||
self.path = path
|
self.path = path
|
||||||
self.save()
|
self.save()
|
||||||
|
|
Loading…
Reference in New Issue