Pause during abort()
This commit is contained in:
parent
96515bd2b8
commit
9414c04395
1 changed files with 2 additions and 1 deletions
|
|
@ -65,7 +65,8 @@ class UnsupportedOSError(Exception):
|
|||
def abort():
|
||||
"""Abort script."""
|
||||
print_warning('Aborted.')
|
||||
sleep(5)
|
||||
sleep(1)
|
||||
pause(prompt='Press Enter to exit... ')
|
||||
exit_script()
|
||||
|
||||
def ask(prompt='Kotaero!'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue