Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo fix #294

Merged
merged 1 commit into from
Apr 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ahk/_hotkey.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def f() -> None:
t.start()
self._callback_queue.task_done() # maybe _do_callback should handle this?

def _render_hotkey_tempate(self) -> str:
def _render_hotkey_template(self) -> str:
if self._clipboard_callback is not None:
on_clipboard = True
else:
Expand All @@ -322,7 +322,7 @@ def _render_hotkey_tempate(self) -> str:
return ret

def listener(self) -> None:
hotkey_script_contents = self._render_hotkey_tempate()
hotkey_script_contents = self._render_hotkey_template()
logging.debug('hotkey script contents:\n%s', hotkey_script_contents)
with tempfile.TemporaryDirectory(prefix='python-ahk') as tmpdirname:
exc_file = os.path.join(tmpdirname, 'executor.ahk')
Expand Down
Loading