diff --git a/mitmproxy/tools/web/static_viewer.py b/mitmproxy/tools/web/static_viewer.py index a46292304..c4f8b1397 100644 --- a/mitmproxy/tools/web/static_viewer.py +++ b/mitmproxy/tools/web/static_viewer.py @@ -11,7 +11,7 @@ from mitmproxy import flowfilter from mitmproxy import io, flow from mitmproxy.tools.web.app import flow_to_json -web_dir = pathlib.Path(__file__).absolute().parent.parent / "tools" / "web" +web_dir = pathlib.Path(__file__).absolute().parent def save_static(path: pathlib.Path) -> None: