From c16b8a4557a5f4e4288638cf19f179a51ebb1707 Mon Sep 17 00:00:00 2001 From: Andres Jaan Tack Date: Fri, 20 Oct 2017 16:28:39 +0300 Subject: [PATCH] Fix a python syntax error. --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 1b8aaec..7a9cb79 100644 --- a/app.py +++ b/app.py @@ -14,7 +14,7 @@ from inflection import underscore # Convert keys to snake_case to conform with the twilio-python api definition contract def snake_case_keys(somedict): - return dict(map(lambda (key, value): (underscore(key), value), somedict.items())) + return dict(map(lambda key, value: (underscore(key), value), somedict.items())) app = Flask(__name__) fake = Factory.create()