1
0
Fork 0
mirror of synced 2024-11-17 05:55:34 -05:00

Add keyboard interrupt handler

This commit is contained in:
Anish Athalye 2014-07-19 00:12:51 -07:00
parent 5394184d14
commit 92ed009245

View file

@ -44,3 +44,6 @@ def main():
except (ReadingError, DispatchError) as e:
log.error('%s' % e)
exit(1)
except KeyboardInterrupt:
log.error('\n==> Operation aborted')
exit(1)