Skip to content

Commit

Permalink
NiFi scripts: updated file storage grab py.
Browse files Browse the repository at this point in the history
  • Loading branch information
vladd-bit committed Oct 24, 2023
1 parent 8cdd8ed commit 25be618
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nifi/user-scripts/get_files_from_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@
generate_pseudo_doc_id = str(_arg[1])

# This is the DATA directory inside the postgres database Docker image, or it could be a folder on the local system
processed_folder_dump="processed_" + folder_to_ingest
processed_folder_dump = "processed_" + folder_to_ingest
processed_folder_dump_path = os.path.join(str(os.environ.get("USER_SCRIPT_LOGS_DIR", "/opt/nifi/user-scripts/logs/")), processed_folder_dump)
processed_folder_dump_path = processed_folder_dump_path.replace("\"", "").replace("\'", "")

# log file name
ingested_folders_file = processed_folder_dump_path + ".log"
Expand Down

0 comments on commit 25be618

Please sign in to comment.