Update pastebin_automated_cdx_processor.py
This commit is contained in:
parent
0c062e7326
commit
81bd092284
@ -15,7 +15,7 @@ BATCH_SIZE = 10
|
|||||||
# Function to run cdxsummary command
|
# Function to run cdxsummary command
|
||||||
def run_cdxsummary(file_path, json_filepath):
|
def run_cdxsummary(file_path, json_filepath):
|
||||||
# Construct the cdxsummary command
|
# Construct the cdxsummary command
|
||||||
cdxsummary_command = f"cdxsummary --json {file_path}"
|
cdxsummary_command = f"/usr/local/bin/cdxsummary --json {file_path}"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Run the cdxsummary command and capture the output
|
# Run the cdxsummary command and capture the output
|
||||||
|
Loading…
Reference in New Issue
Block a user