Denna sida fungerar bättre med Javascript igång.
Startsida
Utforska
Hjälp
Logga in
isprogram
/
autojump
spegling av
https://github.com/wting/autojump.git
Bevaka
1
Stjärnmärk
0
Förgrening
0
Kod
Ärenden
0
Projects
0
Släpp
53
Wiki
Aktiviteter
Bläddra i källkod
normalize path ending before adding to the DB
pull/193/head
Sven Taute
11 år sedan
förälder
54aeff1cae
incheckning
4685d86a17
1 ändrade filer
med
1 tillägg
och
0 borttagningar
Delad Vy
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
bin/autojump
+ 1
- 0
bin/autojump
Visa fil
@ -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:
Skriv
Förhandsgranska
Laddar…
Avbryt
Spara