mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Removing troubleshooting write
This commit is contained in:
parent
697d240291
commit
ed103d53c8
@ -118,7 +118,6 @@ def add_path(data, path, weight=10):
|
|||||||
slash_only_path = re.sub(re.escape(os.sep), "/", path)
|
slash_only_path = re.sub(re.escape(os.sep), "/", path)
|
||||||
orig_weight = data.get(slash_only_path, 0)
|
orig_weight = data.get(slash_only_path, 0)
|
||||||
data[slash_only_path] = sqrt((orig_weight ** 2) + (weight ** 2))
|
data[slash_only_path] = sqrt((orig_weight ** 2) + (weight ** 2))
|
||||||
stderr.write(f"Original weight: {orig_weight} plus weight {weight} = {data[slash_only_path]}")
|
|
||||||
|
|
||||||
return data, Entry(path, data[slash_only_path])
|
return data, Entry(path, data[slash_only_path])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user