change data -> static
This commit is contained in:
parent
a0155c5949
commit
a0923ae9dd
@ -22,8 +22,8 @@ from cert import get_cert
|
||||
_name = 'proxy'
|
||||
logger = logging.getLogger('__main__')
|
||||
|
||||
data = pathlib.Path(__file__).parent / 'data'
|
||||
error_template = string.Template(open(data / 'error.html').read())
|
||||
static = pathlib.Path(__file__).parents[1] / 'static'
|
||||
error_template = string.Template(open(static / 'error.html').read())
|
||||
|
||||
|
||||
def walk_traceback(e, n=0):
|
||||
|
Loading…
Reference in New Issue
Block a user