Parcourir la source

normalize path ending before adding to the DB

pull/193/head
Sven Taute il y a 11 ans
Parent
révision
4685d86a17
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. +1
    -0
      bin/autojump

+ 1
- 0
bin/autojump Voir le fichier

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

Chargement…
Annuler
Enregistrer