This commit is contained in:
Kenneth Reitz
2011-10-15 11:54:00 -04:00
parent 148e27c8da
commit 65c05f70c4
+1 -2
View File
@@ -35,9 +35,8 @@ app = Flask(__name__)
# ------
@app.errorhandler(500)
@filters.json
def page_not_found(e):
return {'error': True, 'why': str(e)}
return ':(', 200
@app.route('/')
def view_landing_page():