Skip to content

Commit 9e2e1f4

Browse files
committed
update dev and stable
update dev and stable
1 parent 1e8c35d commit 9e2e1f4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dev_setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="je_auto_control_dev",
8-
version="0.0.47",
8+
version="0.0.48",
99
author="JE-Chen",
1010
author_email="[email protected]",
1111
description="auto testing",

je_auto_control/wrapper/auto_control_keyboard.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def press_key(keycode: [int, str], is_shift: bool = False, skip_record: bool = F
3535
"""
3636
param = locals()
3737
try:
38-
if isinstance(keycode, int):
38+
if isinstance(keycode, str):
3939
try:
4040
keycode = keys_table.get(keycode)
4141
except AutoControlCantFindKeyException:
@@ -73,7 +73,7 @@ def release_key(keycode: [int, str], is_shift: bool = False, skip_record: bool =
7373
"""
7474
param = locals()
7575
try:
76-
if isinstance(keycode, int):
76+
if isinstance(keycode, str):
7777
try:
7878
keycode = keys_table.get(keycode)
7979
except AutoControlCantFindKeyException:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="je_auto_control",
8-
version="0.0.113",
8+
version="0.0.114",
99
author="JE-Chen",
1010
author_email="[email protected]",
1111
description="auto testing",

0 commit comments

Comments
 (0)