瀏覽代碼

normalize path ending before adding to the DB

pull/193/head
Sven Taute 11 年之前
父節點
當前提交
4685d86a17
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      bin/autojump

+ 1
- 0
bin/autojump 查看文件

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

Loading…
取消
儲存