Browse Source

Handling user abort

pull/66/head
Louis 10 years ago
parent
commit
58f1385685
  1. 3
      songbook

3
songbook

@ -145,6 +145,9 @@ def main():
"Running again with option '-v' may give more information." "Running again with option '-v' may give more information."
) )
sys.exit(1) sys.exit(1)
except KeyboardInterrupt:
LOGGER.warning("Aborted by user.")
sys.exit(1)
sys.exit(0) sys.exit(0)

Loading…
Cancel
Save