add c-c detection
This commit is contained in:
@@ -88,6 +88,8 @@ def main():
|
||||
else:
|
||||
import traceback
|
||||
print traceback.format_exc()
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
@@ -92,6 +92,8 @@ def main():
|
||||
else:
|
||||
import traceback
|
||||
print traceback.format_exc()
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user