Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arrase committed Apr 19, 2017
1 parent 2de616a commit 3f41c4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ducky/RaspiDucky/DuckyScript.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 3f41c4b

Please sign in to comment.