Skip to content

Commit

Permalink
Update talon.py
Browse files Browse the repository at this point in the history
  • Loading branch information
knausj85 authored Jul 24, 2023
1 parent 8cd3a07 commit 470c10d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/talon/talon.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def on_ready():
@mod.action_class
class Actions:
def talon_code_insert_function(text: str, selection: str, prepend_actions: bool):
"""inserts talent specific action with either user prepended or not"""
"""inserts talon-specific action call; prepend_actions will prepend 'actions' namespace for python (e.g. actions.insert('test'))"""
text += f"({selection or ''})"
if prepend_actions:
text = "actions." + text
Expand Down

0 comments on commit 470c10d

Please sign in to comment.