heroku-python / flask-sockets

[DEPRECATED] Alternative: https://github.com/miguelgrinberg/flask-sock
MIT License
1.74k stars 164 forks source link

Making sure all paths return something #20

Closed jhorneman closed 10 years ago

jhorneman commented 10 years ago

Callers (specifically, the Werkzeug debugger middleware) may rely on being able to iterate over the result of this function. This change makes sure they don't choke on receiving None.