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

Add back in unicode handling.

This commit is contained in:
Jared Hess 2015-12-30 17:30:45 -08:00
parent 78b5e8d25b
commit 5241d67efc

View File

@ -135,7 +135,7 @@ def add_path(data, path, weight=10):
with resulting duplicate entries in the database than a single canonical
path.
"""
path = os.path.abspath(path)
path = os.path.abspath(unico(path))
if path == os.path.expanduser('~'):
return data, Entry(path, 0)