pyautoscene 0.2.2__py3-none-any.whl → 0.2.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pyautoscene/utils.py CHANGED
@@ -143,6 +143,6 @@ def locate_on_screen(
143
143
  if len(detections) == 0:
144
144
  return None
145
145
  elif limit > 1:
146
- return detections[:limit]
146
+ return [det.resolve(region) for det in detections[:limit]]
147
147
  else:
148
- return detections[0]
148
+ return detections[0].resolve(region)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyautoscene
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Advance GUI automation
5
5
  Author-email: pritam-dey3 <pritam.pritamdey.984@gmail.com>
6
6
  License-File: LICENSE
@@ -7,9 +7,9 @@ pyautoscene/references.py,sha256=8-VgwAHUt9Te0np2O5TvnIzW5LhNY1Dzm222VdlxgK8,333
7
7
  pyautoscene/region.py,sha256=X2QQy6gIqbbFPWVTNiqbYaQ12nXv5MU-ptP20kA4u48,2123
8
8
  pyautoscene/scene.py,sha256=VWtx5l9DMFu3TC-EAxhabREQDFCvUPs7-4Jxq35JDrI,1993
9
9
  pyautoscene/session.py,sha256=lxv71Q4UW5xr3-UTYVSOV8gqbpDI5HXMopO5kUSZhM0,5678
10
- pyautoscene/utils.py,sha256=ZaxlGlt3xjayCKUfWGr_C73QwqEsacOsnp0SYC6ao7w,4734
11
- pyautoscene-0.2.2.dist-info/METADATA,sha256=N4woAGtRHFc2_DNHG3b_g7jXA3HYT6DB1cu369vVtNs,6068
12
- pyautoscene-0.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
13
- pyautoscene-0.2.2.dist-info/entry_points.txt,sha256=6aKjylfDivCRMrJasIIi7ICU4fZR-8HjcOHhRmHpYpQ,49
14
- pyautoscene-0.2.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
- pyautoscene-0.2.2.dist-info/RECORD,,
10
+ pyautoscene/utils.py,sha256=1sD92eOHYAUwWKke1xc-ZZ2Z3u1cjpEuuNQQDFxiqcQ,4783
11
+ pyautoscene-0.2.3.dist-info/METADATA,sha256=nS4-gkQUWHa-Q-Gs6ETakY6O3ymyUrWIbG0VcEkpW6c,6068
12
+ pyautoscene-0.2.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
13
+ pyautoscene-0.2.3.dist-info/entry_points.txt,sha256=6aKjylfDivCRMrJasIIi7ICU4fZR-8HjcOHhRmHpYpQ,49
14
+ pyautoscene-0.2.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
+ pyautoscene-0.2.3.dist-info/RECORD,,