From: Mathieu Rene Date: Mon, 18 Jan 2010 15:31:47 +0000 (+0000) Subject: single_command.py fixes X-Git-Tag: v1.0.6~699 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=176a8a78617edb5638b66d8b59dfdbbaa0502221;p=thirdparty%2Ffreeswitch.git single_command.py fixes git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16386 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/esl/python/single_command.py b/libs/esl/python/single_command.py index 4f1f0ea59a..c47c57c13c 100644 --- a/libs/esl/python/single_command.py +++ b/libs/esl/python/single_command.py @@ -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: