From a0923ae9dd1acf8491c40a60700472e1ed06885c Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Wed, 18 Sep 2019 21:57:59 +0200 Subject: [PATCH] change data -> static --- src/proxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):