#!/usr/bin/env python
# -*- coding: utf-8 -*-


from jimvc import app
from . import render


__author__ = 'James Iter'
__date__ = '2017/9/10'
__contact__ = 'james.iter.cn@gmail.com'
__copyright__ = '(c) 2017 by James Iter.'


@app.errorhandler(404)
def page_not_found(error):
    return render('404.html'), 404


# @app.errorhandler(500)
# def page_not_found(error):
#     return render('500.html'), 500


