Skip to content

Commit

Permalink
chore: make when_key key argument optional (#59)
Browse files Browse the repository at this point in the history
* chore: make when_key key argument optional

* chore: bump version

Signed-off-by: Koen <[email protected]>

---------

Signed-off-by: Koen <[email protected]>
  • Loading branch information
koen1711 authored Jan 9, 2025
1 parent 1d896f7 commit 1be9304
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion play/io/keypress.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def decorator(func):

async def wrapper(key):
wrapper.is_running = True
await run_async_callback(async_callback, ["key"], [], key)
await run_async_callback(async_callback, [], ["key"], key)
wrapper.is_running = False

wrapper.is_running = False
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# This call to setup() does all the work
setup(
name="corderius-play",
version="2.4.0",
version="2.4.1",
description="The easiest way to make games and media projects in Python.",
long_description=README,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 1be9304

Please sign in to comment.