diff --git a/main.py b/main.py index 86e4ee0..eb0e992 100644 --- a/main.py +++ b/main.py @@ -195,21 +195,21 @@ def main(): print("STARTING C2M LOAD") c2m_load_to_cloudstorage(C2M_FILES_TEMP_STORAGE_PATH) #Delete Temp CSV - print("DELETING SHIPPING CSV") + print("DELETING C2M CSV or PNG") general_function.delete_csv_or_png_in_path(C2M_FILES_TEMP_STORAGE_PATH) - # CRISP - #Make sure cron in the file directory - general_function.change_to_current_directory() - #Extract Load Exchange Data - CRISP_CSV_TEMP_STORAGE_PATH = "./crisp/extract/crisp_temp_extract_csv/" - print("STARTING CRISP EXTRACT") - crisp_extract(CRISP_CSV_TEMP_STORAGE_PATH) - print("STARTING CRISP LOAD") - crisp_load_to_cloudstorage(CRISP_CSV_TEMP_STORAGE_PATH) - #Delete Temp CSV - print("DELETING CRISP CSV") - general_function.delete_csv_in_path(CRISP_CSV_TEMP_STORAGE_PATH) + # # CRISP + # #Make sure cron in the file directory + # general_function.change_to_current_directory() + # #Extract Load Exchange Data + # CRISP_CSV_TEMP_STORAGE_PATH = "./crisp/extract/crisp_temp_extract_csv/" + # print("STARTING CRISP EXTRACT") + # crisp_extract(CRISP_CSV_TEMP_STORAGE_PATH) + # print("STARTING CRISP LOAD") + # crisp_load_to_cloudstorage(CRISP_CSV_TEMP_STORAGE_PATH) + # #Delete Temp CSV + # print("DELETING CRISP CSV") + # general_function.delete_csv_in_path(CRISP_CSV_TEMP_STORAGE_PATH) print("END MAIN_PY") print("------------------------------------------------------------------------------------------------")