Skip to content
This repository has been archived by the owner on Dec 7, 2017. It is now read-only.

Commit

Permalink
main: fix 404 error, and update gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
proppy committed Jan 28, 2014
1 parent 580aa72 commit 540c1ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
*.pyc
# don't include Flask and depedencies
server/lib/*
# include README so user doesn't have to create this dir
!server/lib/README.txt
# don't include third-party dependencies.
lib/
!lib/README.md
.DS_Store
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ def hello():
@app.errorhandler(404)
def page_not_found(e):
"""Return a custom 404 error."""
return 'Sorry, Nothing at this URL.'
return 'Sorry, Nothing at this URL.', 404

0 comments on commit 540c1ab

Please sign in to comment.