From 59f1b6591d83c75cfa27683286da51195db712c1 Mon Sep 17 00:00:00 2001 From: Eyon Land <41128502+eyonland@users.noreply.github.com> Date: Wed, 6 Nov 2024 13:29:45 -0600 Subject: [PATCH] #0: Fix relative link in export_to_sqlite.py (#14810) --- tests/sweep_framework/framework/export_to_sqlite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sweep_framework/framework/export_to_sqlite.py b/tests/sweep_framework/framework/export_to_sqlite.py index bb5ed66a7fd..7a337ce3329 100644 --- a/tests/sweep_framework/framework/export_to_sqlite.py +++ b/tests/sweep_framework/framework/export_to_sqlite.py @@ -240,7 +240,7 @@ def export_to_sqlite(sweeps_path, dump_path, filter_string, user, es_client): args = parser.parse_args(sys.argv[1:]) ELASTIC_CONNECTION_STRING = get_elastic_url(args.elastic) - sweeps_path = pathlib.Path(__file__).parent / "sweeps" + sweeps_path = pathlib.Path(__file__).parent.parent / "sweeps" es_client = Elasticsearch(ELASTIC_CONNECTION_STRING, basic_auth=(ELASTIC_USERNAME, ELASTIC_PASSWORD)) global VERBOSE VERBOSE = args.verbose