diff --git a/content/docs/getting-started/first-app.md b/content/docs/getting-started/first-app.md index d340cdf9..5cc4f39e 100644 --- a/content/docs/getting-started/first-app.md +++ b/content/docs/getting-started/first-app.md @@ -119,10 +119,10 @@ if __name__ == "__main__": for reply in replies: try: print("Received ('{}': '{}')" - .format(reply.ok.key_expr, reply.ok.payload.deserialize(str))) + .format(reply.ok.key_expr, reply.ok.payload.to_string())) except: print("Received (ERROR: '{}')" - .format(reply.err.payload.decode(str))) + .format(reply.err.payload.to_string())) session.close() ```