This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
autojump
mirror of
https://github.com/wting/autojump.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
53
Wiki
Activity
Browse Source
normalize path ending before adding to the DB
pull/193/head
Sven Taute
11 years ago
parent
54aeff1cae
commit
4685d86a17
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
bin/autojump
+ 1
- 0
bin/autojump
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:
Write
Preview
Loading…
Cancel
Save