Lint рефактор (кое-что поправлено)

This commit is contained in:
Jack Stdin
2016-02-03 14:33:01 +03:00
parent 16a144205b
commit 29a26132e1
11 changed files with 46 additions and 41 deletions

View File

@@ -33,6 +33,6 @@ def find(text, strong=False):
@app.error(404)
def error404(error):
def error404():
response.content_type = 'application/json'
return json.dumps(dict(error="Page not found"))