Skip to content

Commit

Permalink
Copy STIX to right spot
Browse files Browse the repository at this point in the history
  • Loading branch information
jondricek committed Oct 27, 2023
1 parent 190bcf9 commit 2e5b92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/util/stixhelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 2e5b92e

Please sign in to comment.