From 23932f0fc324d7d88b3db05c7e6da4719d470136 Mon Sep 17 00:00:00 2001 From: Julian Engel Date: Tue, 21 Nov 2017 15:50:20 +0200 Subject: [PATCH] Fixed the print error of Python 3 --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 80761e4..7671b46 100644 --- a/app.py +++ b/app.py @@ -185,7 +185,7 @@ def create_plivo_endpoint(conference_name, app_id): plivo_conn = get_plivo_connection() _, response = plivo_conn.create_endpoint({'username': conference_name, 'password': conference_name, 'alias': conference_name, 'app_id': app_id}) - print "Status: %s\nResponse: %s" % (_, response) + print ("Status: %s\nResponse: %s" % (_, response)) endpoint_username = response['username'] return endpoint_username @@ -214,7 +214,7 @@ def create_plivo_application(conference_name): answer_url = url_for('conf', _external=True, conference_name=conference_name) plivo_conn = get_plivo_connection() _, response = plivo_conn.create_application({'app_name': conference_name, 'answer_url': answer_url, 'answer_method': 'POST'}) - print "Status: %s\nResponse: %s" % (_, response) + print ("Status: %s\nResponse: %s" % (_, response)) app_id = response['app_id'] return app_id