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:
parent
78b5e8d25b
commit
5241d67efc
@ -135,7 +135,7 @@ def add_path(data, path, weight=10):
|
|||||||
with resulting duplicate entries in the database than a single canonical
|
with resulting duplicate entries in the database than a single canonical
|
||||||
path.
|
path.
|
||||||
"""
|
"""
|
||||||
path = os.path.abspath(path)
|
path = os.path.abspath(unico(path))
|
||||||
if path == os.path.expanduser('~'):
|
if path == os.path.expanduser('~'):
|
||||||
return data, Entry(path, 0)
|
return data, Entry(path, 0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user