aboutsummaryrefslogtreecommitdiff
path: root/wqflask/runserver.py
diff options
context:
space:
mode:
authorLei Yan2017-05-04 15:53:31 +0000
committerLei Yan2017-05-04 15:53:31 +0000
commita68897dc7b56e3c36229ab1452de90ba87ff6223 (patch)
tree0404280aef9d6f1b554e0277273197705bd20e1b /wqflask/runserver.py
parent67218be3a181de7aad617237c11ee33436b8d762 (diff)
parent3c46a58f50f339ec56027db6d2108de5b21d63ac (diff)
downloadgenenetwork2-a68897dc7b56e3c36229ab1452de90ba87ff6223.tar.gz
Merge branch 'master' of github.com:genenetwork/genenetwork2
Diffstat (limited to 'wqflask/runserver.py')
-rw-r--r--wqflask/runserver.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wqflask/runserver.py b/wqflask/runserver.py
index a6ae28af..50805643 100644
--- a/wqflask/runserver.py
+++ b/wqflask/runserver.py
@@ -11,6 +11,9 @@ import logging
import utility.logger
logger = utility.logger.getLogger(__name__ )
+import signal
+signal.signal(signal.SIGPIPE, signal.SIG_DFL)
+
BLUE = '\033[94m'
GREEN = '\033[92m'
BOLD = '\033[1m'