Ver código fonte

normalize path ending before adding to the DB

pull/193/head
Sven Taute 11 anos atrás
pai
commit
4685d86a17
1 arquivos alterados com 1 adições e 0 exclusões
  1. +1
    -0
      bin/autojump

+ 1
- 0
bin/autojump Ver arquivo

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

Carregando…
Cancelar
Salvar