Skip to content

Commit e900b65

Browse files
committed
update dev and stable
now locate and click will return int(x), int(y) not Numpyint64(x) Numpyint64(y)
1 parent 7b08bb2 commit e900b65

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.idea/workspace.xml

+4-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev_setup.py

+1-1
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.50",
8+
version="0.0.51",
99
author="JE-Chen",
1010
author_email="zenmailman@gmail.com",
1111
description="auto testing",

je_auto_control/wrapper/auto_control_image.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def locate_and_click(
8888
set_position(int(image_center_x), int(image_center_y))
8989
click_mouse(mouse_keycode)
9090
record_action_to_list("locate_and_click", param)
91-
return [image_center_x, image_center_y]
91+
return [int(image_center_x), int(image_center_y)]
9292
else:
9393
raise ImageNotFoundException(cant_find_image + " / " + repr(image))
9494
except Exception as error:

setup.py

+1-1
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.116",
8+
version="0.0.117",
99
author="JE-Chen",
1010
author_email="zenmailman@gmail.com",
1111
description="auto testing",

0 commit comments

Comments
 (0)