teaclave-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ms...@apache.org
Subject [incubator-teaclave] branch master updated: Fix the echo example (#397)
Date Fri, 31 Jul 2020 02:55:40 GMT
This is an automated email from the ASF dual-hosted git repository.

mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git


The following commit(s) were added to refs/heads/master by this push:
     new dadd3b5  Fix the echo example (#397)
dadd3b5 is described below

commit dadd3b57bba6f9e0e22b3c094175a544680aa406
Author: Qinkun Bao <qinkunbao@gmail.com>
AuthorDate: Thu Jul 30 22:55:12 2020 -0400

    Fix the echo example (#397)
---
 examples/python/mesapy_echo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/python/mesapy_echo.py b/examples/python/mesapy_echo.py
index 3f12512..61b081e 100644
--- a/examples/python/mesapy_echo.py
+++ b/examples/python/mesapy_echo.py
@@ -63,7 +63,7 @@ def main():
     example = MesaPyEchoExample(USER_ID, USER_PASSWORD)
     if len(sys.argv) == 2:
         message = sys.argv[1]
-        rt = example.echo(message)
+        rt = example.echo(message=message)
     elif len(sys.argv) == 3:
         payload = sys.argv[1]
         message = sys.argv[2]


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org


Mime
View raw message