add c-c detection

This commit is contained in:
Ville Rantanen
2015-07-20 10:05:24 +03:00
parent a895b90030
commit 2acc585d37
2 changed files with 4 additions and 0 deletions

View File

@@ -88,6 +88,8 @@ def main():
else:
import traceback
print traceback.format_exc()
except KeyboardInterrupt:
pass
if __name__ == "__main__":
main()

View File

@@ -92,6 +92,8 @@ def main():
else:
import traceback
print traceback.format_exc()
except KeyboardInterrupt:
pass
if __name__ == "__main__":
main()