From cddcc3e04e22b5b89f164b62607011831e238660 Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Sat, 16 Sep 2017 09:40:27 -0400 Subject: [PATCH] better type for concat --- hbc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbc b/hbc index b21cd45..84ad725 100755 --- a/hbc +++ b/hbc @@ -198,7 +198,7 @@ def doexec(conn, data): fail = "CalledProcessError" except Exception as e: syslogtrace('System') - ro = None + ro = "N/A" fail = "cmd failed: %s" % e msg={'service': 'command', 'msg': fail+" "+ro} conns[conn].sendto(msg)