commit
54c1f5e409
1 changed files with 2 additions and 2 deletions
|
@ -276,10 +276,10 @@ def inturrupt_handler(signal, frame):
|
||||||
global quit_confirm_time
|
global quit_confirm_time
|
||||||
if not quit_confirm_time or datetime.datetime.now() > quit_confirm_time:
|
if not quit_confirm_time or datetime.datetime.now() > quit_confirm_time:
|
||||||
print ''
|
print ''
|
||||||
print ('Inturrupting will cause Pappy to quit completely. This will '
|
print ('Interrupting will cause Pappy to quit completely. This will '
|
||||||
'cause any in-memory only requests to be lost, but all other '
|
'cause any in-memory only requests to be lost, but all other '
|
||||||
'data will be saved.')
|
'data will be saved.')
|
||||||
print ('Inturrupt a second time to confirm.')
|
print ('Interrupt a second time to confirm.')
|
||||||
print ''
|
print ''
|
||||||
quit_confirm_time = datetime.datetime.now() + datetime.timedelta(0, 10)
|
quit_confirm_time = datetime.datetime.now() + datetime.timedelta(0, 10)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue