diff --git a/ducky/RaspiDucky/DuckyScript.py b/ducky/RaspiDucky/DuckyScript.py index d74d300..c60b60a 100644 --- a/ducky/RaspiDucky/DuckyScript.py +++ b/ducky/RaspiDucky/DuckyScript.py @@ -63,10 +63,10 @@ def run(self, cmd): self._exec_code(self._getKBCode(c)) elif (cmd[0] == "DELAY"): self._last_cmd = "UNS" - sleep(float(cmd[1]) / 1000000.0) + sleep(float(cmd[1]) / 1000.0) elif cmd[0] in ["DEFAULTDELAY", "DEFAULT_DELAY"]: self._last_cmd = "UNS" - self._def_delay = float(cmd[1]) / 1000000.0 + self._def_delay = float(cmd[1]) / 1000.0 elif (cmd[0] == "REM"): self._last_cmd = "REM" print(cmd[1])