From 2e5b92e34b34dff47269bf66d6e7194de3e1f703 Mon Sep 17 00:00:00 2001 From: Jared Ondricek Date: Fri, 27 Oct 2023 15:53:01 -0500 Subject: [PATCH] Copy STIX to right spot --- modules/util/stixhelpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/util/stixhelpers.py b/modules/util/stixhelpers.py index 80ba70acc80..4f8698960fe 100644 --- a/modules/util/stixhelpers.py +++ b/modules/util/stixhelpers.py @@ -409,7 +409,7 @@ def get_stix_memory_stores(): if domain["location"].startswith("http"): download_stix_file(url=domain["location"], download_dir=stix_output_dir, filepath=stix_filename) else: - shutil.copy(domain["location"], str(stix_output_dir)) + shutil.copy(domain["location"], str(stix_filename)) if os.path.exists(stix_filename): logger.info(f"Loading STIX file from: {stix_filename}")