Fix a python syntax error.

This commit is contained in:
Andres Jaan Tack
2017-10-20 16:28:39 +03:00
parent 3d3a4b1cf5
commit c16b8a4557

2
app.py
View File

@@ -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()