mirror of
https://github.com/trycua/computer.git
synced 2026-01-04 12:30:08 -06:00
docs: fix wait action
This commit is contained in:
@@ -145,9 +145,8 @@
|
||||
" await computer.interface.press_key(key)\n",
|
||||
" \n",
|
||||
" elif action_type == \"wait\":\n",
|
||||
" wait_time = action.time\n",
|
||||
" print(f\"Waiting for {wait_time} seconds\")\n",
|
||||
" await asyncio.sleep(wait_time)\n",
|
||||
" print(f\"Waiting for 2 seconds\")\n",
|
||||
" await asyncio.sleep(2)\n",
|
||||
" \n",
|
||||
" elif action_type == \"screenshot\":\n",
|
||||
" print(\"Taking screenshot\")\n",
|
||||
|
||||
Reference in New Issue
Block a user