catch keyboard interrupt

pull/93/head
manu 8 years ago
parent 626b0ca74c
commit d483de1dfd

@ -55,4 +55,8 @@ def main():
if __name__ == "__main__":
main()
try:
main()
except KeyboardInterrupt:
print("Shreddit aborted by user")
quit()

Loading…
Cancel
Save