Fix a python syntax error.
This commit is contained in:
2
app.py
2
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()
|
||||
|
||||
Reference in New Issue
Block a user