From 7340141390c04dcdec77240d641de263e2226475 Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Sat, 25 Jun 2022 12:09:35 +0800 Subject: [PATCH] Fix typos --- bin/autojump_data.py | 2 +- bin/autojump_utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/autojump_data.py b/bin/autojump_data.py index d647a42..fa1de19 100644 --- a/bin/autojump_data.py +++ b/bin/autojump_data.py @@ -50,7 +50,7 @@ def entriefy(data): def load(config): - """Returns a dictonary (key=path, value=weight) loaded from data file.""" + """Returns a dictionary (key=path, value=weight) loaded from data file.""" xdg_aj_home = os.path.join( os.path.expanduser('~'), '.local', diff --git a/bin/autojump_utils.py b/bin/autojump_utils.py index d1c48ab..ded17fd 100644 --- a/bin/autojump_utils.py +++ b/bin/autojump_utils.py @@ -194,7 +194,7 @@ def surround_quotes(string): path outputs with quotes. """ if in_bash() and string: - # Python 2.6 requres field numbers + # Python 2.6 requires field numbers return '"{0}"'.format(string) return string