Fix broken pipe

This commit is contained in:
Tim Van Baak 2020-06-02 09:54:27 -07:00
parent e254df44f8
commit ed67e717cf
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@ import cli
import configs import configs
from signal import signal, SIGPIPE, SIG_DFL
signal(SIGPIPE, SIG_DFL)
def parse_args(valid_commands): def parse_args(valid_commands):
command_descs = "\n".join([ command_descs = "\n".join([
"- {0}: {1}".format(name, func.__doc__) "- {0}: {1}".format(name, func.__doc__)