diff --git a/src/proxy.py b/src/proxy.py index 623b994..8744e5a 100755 --- a/src/proxy.py +++ b/src/proxy.py @@ -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):