1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Remove accidentally creating tuples.

Fixes #244.
This commit is contained in:
William Ting 2014-03-09 19:04:29 -07:00
parent 559ead890c
commit d0578b2c10

View File

@ -98,8 +98,8 @@ def migrate_osx_xdg_data(config):
xdg_data_home = os.path.join(os.path.expanduser('~'), '.local', 'share') xdg_data_home = os.path.join(os.path.expanduser('~'), '.local', 'share')
xdg_aj_home = os.path.join(xdg_data_home, 'autojump') xdg_aj_home = os.path.join(xdg_data_home, 'autojump')
data_path = os.path.join(xdg_aj_home, 'autojump.txt'), data_path = os.path.join(xdg_aj_home, 'autojump.txt')
backup_path = os.path.join(xdg_aj_home, 'autojump.txt.bak'), backup_path = os.path.join(xdg_aj_home, 'autojump.txt.bak')
if os.path.exists(data_path): if os.path.exists(data_path):
move_file(data_path, config['data_path']) move_file(data_path, config['data_path'])