docs: fix wait action

This commit is contained in:
Finn
2025-04-26 20:58:21 -04:00
parent f141cab0b9
commit 505a9a5f45

View File

@@ -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",