Fix broken pipe
This commit is contained in:
parent
e254df44f8
commit
ed67e717cf
|
@ -6,6 +6,10 @@ import cli
|
|||
import configs
|
||||
|
||||
|
||||
from signal import signal, SIGPIPE, SIG_DFL
|
||||
signal(SIGPIPE, SIG_DFL)
|
||||
|
||||
|
||||
def parse_args(valid_commands):
|
||||
command_descs = "\n".join([
|
||||
"- {0}: {1}".format(name, func.__doc__)
|
||||
|
|
Loading…
Reference in New Issue