change data -> static

master
Michele Guerini Rocco 2019-09-18 21:57:59 +02:00
parent a0155c5949
commit a0923ae9dd
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450
1 changed files with 2 additions and 2 deletions

View File

@ -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):