version bump. document flush

This commit is contained in:
Jay Lee
2018-08-03 20:30:31 +00:00
parent b8c6800b37
commit 4ec90dbcfe
2 changed files with 4 additions and 2 deletions

View File

@@ -7618,7 +7618,9 @@ def doDownloadVaultExport():
status, done = downloader.next_chunk()
sys.stdout.write(u' Downloaded: {0:>7.2%}\r'.format(status.progress()))
sys.stdout.flush()
sys.stdout.write(u'\n Download complete\n')
sys.stdout.write(u'\n Download complete. Flushing to disk...\n')
# Necessary to make sure file is flushed by both Python and OS
# https://stackoverflow.com/a/13762137/1503886
f.flush()
os.fsync(f.fileno())
closeFile(f)