1
0
mirror of https://github.com/wting/autojump synced 2025-06-13 12:54:07 +00:00
This commit is contained in:
Sven T 2013-03-11 13:25:04 -07:00
commit 4b695dc5f2

View File

@ -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: