예제 #1
0
파일: error.py 프로젝트: tiger8888/python
def notfound():
    mess = r"""
        \          SORRY            /
         \          404            /
          \    您是不是迷路了!     /
           ]   请返回首页哦亲.    [    ,'|
           ]                     [   /  |
           ]___               ___[ ,'   |
           ]  ]\             /[  [ |:   |
           ]  ] \           / [  [ |:   |
           ]  ]  ]         [  [  [ |:   |
           ]  ]  ]__     __[  [  [ |:   |
           ]  ]  ] ]\ _ /[ [  [  [ |:   |
           ]  ]  ] ] (#) [ [  [  [ :===='
           ]  ]  ]_].nHn.[_[  [  [
           ]  ]  ]  HHHHH. [  [  [
           ]  ] /   `HH("N  \ [  [
           ]__]/     HHH  "  \[__[
           ]         NNN         [
           ]         N/"         [
           ]         N H         [
          /          N            \
         /           q,            \
        /                           \
    """
    return web.notfound(render.notfound(mess))
예제 #2
0
파일: error.py 프로젝트: lujinda/python
def notfound():
    mess=r"""
        \          SORRY            /
         \          404            /
          \    您是不是迷路了!     /
           ]   请返回首页哦亲.    [    ,'|
           ]                     [   /  |
           ]___               ___[ ,'   |
           ]  ]\             /[  [ |:   |
           ]  ] \           / [  [ |:   |
           ]  ]  ]         [  [  [ |:   |
           ]  ]  ]__     __[  [  [ |:   |
           ]  ]  ] ]\ _ /[ [  [  [ |:   |
           ]  ]  ] ] (#) [ [  [  [ :===='
           ]  ]  ]_].nHn.[_[  [  [
           ]  ]  ]  HHHHH. [  [  [
           ]  ] /   `HH("N  \ [  [
           ]__]/     HHH  "  \[__[
           ]         NNN         [
           ]         N/"         [
           ]         N H         [
          /          N            \
         /           q,            \
        /                           \
    """
    return web.notfound(render.notfound(mess))
예제 #3
0
def notfound():
    return web.notfound(render.notfound())
예제 #4
0
def notfound():
    return web.notfound(render.notfound())