Pause during abort()

This commit is contained in:
Alan Mason 2017-12-03 18:02:32 -08:00
parent 96515bd2b8
commit 9414c04395

View file

@ -65,7 +65,8 @@ class UnsupportedOSError(Exception):
def abort(): def abort():
"""Abort script.""" """Abort script."""
print_warning('Aborted.') print_warning('Aborted.')
sleep(5) sleep(1)
pause(prompt='Press Enter to exit... ')
exit_script() exit_script()
def ask(prompt='Kotaero!'): def ask(prompt='Kotaero!'):