better type for concat
This commit is contained in:
@@ -198,7 +198,7 @@ def doexec(conn, data):
|
|||||||
fail = "CalledProcessError"
|
fail = "CalledProcessError"
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
syslogtrace('System')
|
syslogtrace('System')
|
||||||
ro = None
|
ro = "N/A"
|
||||||
fail = "cmd failed: %s" % e
|
fail = "cmd failed: %s" % e
|
||||||
msg={'service': 'command', 'msg': fail+" "+ro}
|
msg={'service': 'command', 'msg': fail+" "+ro}
|
||||||
conns[conn].sendto(msg)
|
conns[conn].sendto(msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user