Bugfix sleep()
This commit is contained in:
parent
427243c933
commit
21a587ee0f
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ def abort(show_prompt=True):
|
||||||
"""Abort script."""
|
"""Abort script."""
|
||||||
print_warning('Aborted.')
|
print_warning('Aborted.')
|
||||||
if show_prompt:
|
if show_prompt:
|
||||||
sleep(timeout)
|
sleep(1)
|
||||||
pause(prompt='Press Enter to exit... ')
|
pause(prompt='Press Enter to exit... ')
|
||||||
exit_script(1)
|
exit_script(1)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue