Modified: freeswitch/trunk/libs/esl/python/single_command.py (16385 => 16386)
--- freeswitch/trunk/libs/esl/python/single_command.py 2010-01-18 13:38:10 UTC (rev 16385)
+++ freeswitch/trunk/libs/esl/python/single_command.py 2010-01-18 15:31:47 UTC (rev 16386)
@@ -25,9 +25,9 @@
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: