cua-computer 0.3.3__py3-none-any.whl → 0.3.4__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.
- computer/interface/generic.py +2 -2
- {cua_computer-0.3.3.dist-info → cua_computer-0.3.4.dist-info}/METADATA +1 -1
- {cua_computer-0.3.3.dist-info → cua_computer-0.3.4.dist-info}/RECORD +5 -5
- {cua_computer-0.3.3.dist-info → cua_computer-0.3.4.dist-info}/WHEEL +1 -1
- {cua_computer-0.3.3.dist-info → cua_computer-0.3.4.dist-info}/entry_points.txt +0 -0
computer/interface/generic.py
CHANGED
@@ -42,9 +42,9 @@ class GenericComputerInterface(BaseComputerInterface):
|
|
42
42
|
delay: Optional delay in seconds. If None, uses self.delay.
|
43
43
|
"""
|
44
44
|
if delay is not None:
|
45
|
-
if isinstance(delay, float) and delay > 0:
|
45
|
+
if isinstance(delay, float) or isinstance(delay, int) and delay > 0:
|
46
46
|
await asyncio.sleep(delay)
|
47
|
-
elif isinstance(self.delay, float) and self.delay > 0:
|
47
|
+
elif isinstance(self.delay, float) or isinstance(self.delay, int) and self.delay > 0:
|
48
48
|
await asyncio.sleep(self.delay)
|
49
49
|
|
50
50
|
@property
|
@@ -5,7 +5,7 @@ computer/helpers.py,sha256=iHkO2WhuCLc15g67kfMnpQWxfNRlz2YeJNEvYaL9jlM,1826
|
|
5
5
|
computer/interface/__init__.py,sha256=xQvYjq5PMn9ZJOmRR5mWtONTl_0HVd8ACvW6AQnzDdw,262
|
6
6
|
computer/interface/base.py,sha256=1beR4T0z5anb9NaNgKJrMJTF0BFIKyiHlokMLesOV5Q,15131
|
7
7
|
computer/interface/factory.py,sha256=Eas5u9sOZ8FegwX51dP9M37oZBjy2EiVcmhTPc98L3Y,1639
|
8
|
-
computer/interface/generic.py,sha256=
|
8
|
+
computer/interface/generic.py,sha256=EH9OCSU2PDG-9GAzIZdmzFfCgSAkPs1Pc8xfAQSnFAQ,36296
|
9
9
|
computer/interface/linux.py,sha256=fDm2OwqfeeO72HwctboPEE5AwPTo2XBRDyYkwQxMyt0,417
|
10
10
|
computer/interface/macos.py,sha256=m1aRn3BCbA95gPoO-WSP9NPwruT4BT5DZzxY10UuBI0,675
|
11
11
|
computer/interface/models.py,sha256=kPpmoO-TSxSr95f5ELuTpobY-SckG1Sn9pE8zz1t008,3605
|
@@ -31,7 +31,7 @@ computer/ui/__main__.py,sha256=Jwy2oC_mGZLN0fX7WLqpjaQkbXMeM3ISrUc8WSRUG0c,284
|
|
31
31
|
computer/ui/gradio/__init__.py,sha256=5_KimixM48-X74FCsLw7LbSt39MQfUMEL8-M9amK3Cw,117
|
32
32
|
computer/ui/gradio/app.py,sha256=5_AG2dQR9RtFrGQNonScAw64rlswclKW26tYlFBdXtM,70396
|
33
33
|
computer/utils.py,sha256=zY50NXB7r51GNLQ6l7lhG_qv0_ufpQ8n0-SDhCei8m4,2838
|
34
|
-
cua_computer-0.3.
|
35
|
-
cua_computer-0.3.
|
36
|
-
cua_computer-0.3.
|
37
|
-
cua_computer-0.3.
|
34
|
+
cua_computer-0.3.4.dist-info/METADATA,sha256=QsaQuhlPQwQfEyofCsYtz_otdH0cjJrfmtxF5mlRTsE,5802
|
35
|
+
cua_computer-0.3.4.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
|
36
|
+
cua_computer-0.3.4.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
37
|
+
cua_computer-0.3.4.dist-info/RECORD,,
|
File without changes
|