1
0
mirror of https://github.com/wting/autojump synced 2026-03-02 03:49:26 +00:00

Use temporary files to prevent IO race conditions.

Refer to #260.
This commit is contained in:
William Ting
2014-03-09 19:56:13 -07:00
parent 4bd62e2293
commit 4826a0ef6b
2 changed files with 6 additions and 9 deletions

View File

@@ -88,7 +88,6 @@ def set_defaults():
config['data_path'] = os.path.join(data_home, 'autojump.txt')
config['backup_path'] = os.path.join(data_home, 'autojump.txt.bak')
config['tmp_path'] = os.path.join(data_home, 'data.tmp')
return config