mirror of
https://github.com/wting/autojump
synced 2025-06-13 12:54:07 +00:00
Merge 4685d86a17
into 54aeff1cae
This commit is contained in:
commit
4b695dc5f2
@ -89,6 +89,7 @@ class Database:
|
||||
"""
|
||||
Increase weight of existing paths or initialize new ones to 10.
|
||||
"""
|
||||
path = path.rstrip(os.sep)
|
||||
if path not in self.data:
|
||||
self.data[path] = increment
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user