提交 176a8a78 authored 作者: Mathieu Rene's avatar Mathieu Rene

single_command.py fixes

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16386 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 95560c90
......@@ -25,9 +25,9 @@ def main(argv):
con = ESLconnection(options.server, options.port, options.auth)
#are we connected?
if con.connected:
if con.connected():
#run command
e=con.sendRecv("api "+ options.command)
e = con.api(options.command)
print e.getBody()
else:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论