We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20708bb commit ebb5e62Copy full SHA for ebb5e62
1 file changed
src/actions/homophones.py
@@ -7,7 +7,7 @@ def run_homophones_action(targets: dict):
7
"""Replaced target with next homophone"""
8
texts = get_text(targets, show_decorations=False)
9
try:
10
- updated_texts = list(map(lambda text: get_next_homophone(text), texts))
+ updated_texts = list(map(get_next_homophone, texts))
11
except LookupError as e:
12
app.notify(str(e))
13
return
0 commit comments